aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2016-12-31 06:51:45 +0000
committerCody Hiar <codyfh@gmail.com>2016-12-31 06:51:45 +0000
commit83b85fa5d68b24c0d40ae2cb9314cec6719fd190 (patch)
tree2294d9d23b7bec20e118136d06c66d2e083829fe /plugin
parent18ee6115e1216d23dc16157269c626c92d7d5b34 (diff)
Set the syntax, not the filetype
Diffstat (limited to 'plugin')
-rw-r--r--plugin/vim-options.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index 57b9c63..e865a39 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -131,13 +131,13 @@ autocmd FileType php set tabstop=4|set shiftwidth=4
autocmd FileType sh set tabstop=4|set shiftwidth=4
autocmd FileType make set tabstop=4|set shiftwidth=4 noexpandtab
autocmd FileType haskell set tabstop=8|set shiftwidth=4|set softtabstop=4
-au BufRead,BufNewFile *.twig set filetype=htmljinja
-au BufRead,BufNewFile *.html set filetype=htmljinja
+au BufRead,BufNewFile *.twig set syntax=htmljinja
+au BufRead,BufNewFile *.html set syntax=htmljinja
au BufNewFile,BufRead *.yml set filetype=yaml
au BufNewFile,BufRead *.sls set filetype=yaml
au BufNewFile,BufRead *.inc set filetype=php
au BufNewFile,BufRead *.module set filetype=php
-au BufRead,BufNewFile *.ejs set filetype=htmljinja
+au BufRead,BufNewFile *.ejs set syntax=htmljinja
au BufRead,BufNewFile *.md set filetype=markdown
"-----------------------------------------------------------------------------------------------------------------------