Lines Matching refs:files
25 settings, because they have been kept minimal. Suppose that for C files you
90 This will recognize all files that end in ".xyz" as the "xyz" filetype. The
98 names can also be included. See |autocmd-patterns|. For example, the files
99 under "/usr/share/scripts/" are all "ruby" files, but don't have the expected
109 too many files. To avoid trouble with this, put the filetype.vim file in
112 You now put the detection of text files in ~/.vim/filetype.vim: >
125 What will happen now is that Vim searches for "filetype.vim" files in each
127 autocommand to catch *.txt files is defined there. Then Vim finds the
130 files in /usr/share/scripts is added.
144 recognize it by its contents. For example, many script files start with a
160 contents of files for which the filetype was already detected by the file
166 1. filetype.vim files before $VIMRUNTIME in 'runtimepath'
168 3. all scripts.vim files in 'runtimepath'
170 5. filetype.vim files after $VIMRUNTIME in 'runtimepath'
172 If this is not sufficient for you, add an autocommand that matches all files