Skip to content

Commit

Permalink
[vim] change how twig files are highlighted
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin DeCarlo committed Oct 27, 2012
1 parent ce541c4 commit b219adb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion vim/filetype.vim
Original file line number Diff line number Diff line change
@@ -1 +1 @@
au BufNewFile,BufRead *.twig set syntax=htmljinja
au BufNewFile,BufRead *.twig so ~/.vim/ftplugin/twig.vim
6 changes: 6 additions & 0 deletions vim/ftplugin/twig.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
setlocal syntax=htmljinja
setlocal tabstop=4
setlocal shiftwidth=4
setlocal noexpandtab
setlocal autoindent
setlocal smarttab

0 comments on commit b219adb

Please sign in to comment.