diff options
author | Matt Singleton <matthew.j.singleton@gmail.com> | 2011-01-01 20:36:23 -0500 |
---|---|---|
committer | Matt Singleton <matthew.j.singleton@gmail.com> | 2011-01-01 20:36:23 -0500 |
commit | a924689c38482b652c72977aae1e532f3cc462ba (patch) | |
tree | 2d92aeb641f61c0e858ebfe1c8eef9fca5c05c38 /vimrc | |
parent | 76e4d24107fb9609ee70ae8884da3941df433356 (diff) |
adding new filetypes for html and zsh
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -37,7 +37,9 @@ if has("autocmd") au! au FileType text setlocal textwidth=72 - au FileType html,xhtml setlocal ts=2 sw=2 sts=2 expandtab + au FileType html setlocal ts=2 sw=2 sts=2 expandtab + au FileType xhtml setlocal ts=2 sw=2 sts=2 expandtab + au FileType htmldjango setlocal ts=2 sw=2 sts=2 expandtab au FileType ruby setlocal ts=2 sw=2 sts=2 expandtab " text files @@ -52,6 +54,10 @@ if has("autocmd") au BufRead,BufNewFile *.mako setlocal filetype=html au BufRead,BufNewFile *.ftl setlocal filetype=html + " zsh configs and scripts + au BufRead,BufNewFile *.zsh-theme setlocal filetype=zsh + au BufRead,BufNewFile *.zsh setlocal filetype=zsh + " When editing a file, always jump to the last known cursor position. " Don't do it when the position is invalid or when inside an event handler au BufReadPost * |