Move vim autocommands into ftdetect or ftplugin

This commit is contained in:
2016-03-12 20:35:11 +00:00
parent 3b1d816705
commit 277de97a36
14 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
" Force *.md to markdown filetype
au BufNewFile,BufReadPost *.md set filetype=markdown

View File

@@ -0,0 +1,2 @@
" Force *.cl to OpenCL C filetype
au BufNewFile,BufReadPost *.cl set filetype=opencl

View File

@@ -0,0 +1,2 @@
" Python convention is to use 4 space tabs.
setlocal tabstop=4 shiftwidth=4 softtabstop=4

View File

@@ -0,0 +1,2 @@
" Force *.td to tablegen filetype
au BufNewFile,BufReadPost *.td set filetype=tablegen