" Vim support file to switch on loading indent files for file types " " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2008 Feb 22 if exists("did_indent_on") finish endif let did_indent_on = 1 augroup filetypeindent au FileType * call s:LoadIndent() func! s:LoadIndent() if exists("b:undo_indent") exe b:undo_indent unlet! b:undo_indent b:did_indent endif let s = expand("<amatch>") if s != "" if exists("b:did_indent") unlet b:did_indent endif " When there is a dot it is used to separate filetype names. Thus for " "aaa.bbb" load "indent/aaa.vim" and then "indent/bbb.vim". for name in split(s, '\.') exe 'runtime! indent/' . name . '.vim' endfor endif endfunc augroup END
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
autoload | Folder | 0755 |
|
|
colors | Folder | 0755 |
|
|
compiler | Folder | 0755 |
|
|
doc | Folder | 0755 |
|
|
ftplugin | Folder | 0755 |
|
|
indent | Folder | 0755 |
|
|
keymap | Folder | 0755 |
|
|
lang | Folder | 0755 |
|
|
macros | Folder | 0755 |
|
|
plugin | Folder | 0755 |
|
|
Folder | 0755 |
|
||
spell | Folder | 0755 |
|
|
syntax | Folder | 0755 |
|
|
tutor | Folder | 0755 |
|
|
bugreport.vim | File | 1.91 KB | 0644 |
|
delmenu.vim | File | 645 B | 0644 |
|
evim.vim | File | 1.92 KB | 0644 |
|
filetype.vim | File | 66.82 KB | 0644 |
|
ftoff.vim | File | 280 B | 0644 |
|
ftplugin.vim | File | 971 B | 0644 |
|
ftplugof.vim | File | 337 B | 0644 |
|
gvimrc_example.vim | File | 1.66 KB | 0644 |
|
indent.vim | File | 767 B | 0644 |
|
indoff.vim | File | 282 B | 0644 |
|
menu.vim | File | 37.59 KB | 0644 |
|
mswin.vim | File | 2.59 KB | 0644 |
|
optwin.vim | File | 54.4 KB | 0644 |
|
scripts.vim | File | 10.15 KB | 0644 |
|
synmenu.vim | File | 35.95 KB | 0644 |
|
vimrc_example.vim | File | 3.2 KB | 0644 |
|