Move vim autocommands into ftdetect or ftplugin
This commit is contained in:
2
after/ftdetect/markdown.vim
Normal file
2
after/ftdetect/markdown.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
" Force *.md to markdown filetype
|
||||
au BufNewFile,BufReadPost *.md set filetype=markdown
|
||||
2
after/ftdetect/opencl.vim
Normal file
2
after/ftdetect/opencl.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
" Force *.cl to OpenCL C filetype
|
||||
au BufNewFile,BufReadPost *.cl set filetype=opencl
|
||||
2
after/ftdetect/python.vim
Normal file
2
after/ftdetect/python.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
" Python convention is to use 4 space tabs.
|
||||
setlocal tabstop=4 shiftwidth=4 softtabstop=4
|
||||
2
after/ftdetect/tablegen.vim
Normal file
2
after/ftdetect/tablegen.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
" Force *.td to tablegen filetype
|
||||
au BufNewFile,BufReadPost *.td set filetype=tablegen
|
||||
Reference in New Issue
Block a user