From 83b85fa5d68b24c0d40ae2cb9314cec6719fd190 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Sat, 31 Dec 2016 06:51:45 +0000 Subject: Set the syntax, not the filetype --- plugin/vim-options.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugin') 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 "----------------------------------------------------------------------------------------------------------------------- -- cgit v1.2.3