diff options
author | Matt Singleton <msingleton@wgen.net> | 2010-05-06 15:14:25 -0400 |
---|---|---|
committer | Matt Singleton <msingleton@wgen.net> | 2010-05-06 15:14:25 -0400 |
commit | 4fecb0a442764aac090c08c3c68b97561911e6ab (patch) | |
tree | 2eeefd9b7e62c18a6179b484ae35e224341fe956 /vimrc | |
parent | 8db3cf3e01ae203fbd30c0fb4e6f6b93f740f681 (diff) |
update filetype settings for text and html
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -35,10 +35,13 @@ if has("autocmd") filetype plugin indent on au! - au FileType text setlocal textwidth=78 + au FileType text setlocal textwidth=72 au FileType html setlocal ts=2 sw=2 sts=2 expandtab au FileType ruby setlocal ts=2 sw=2 sts=2 expandtab + " text files + au BufRead,BufNewFile *.txt setlocal filetype=text + " php files au BufRead,BufNewFile *.module setlocal filetype=php au BufRead,BufNewFile *.inc setlocal filetype=php @@ -46,6 +49,7 @@ if has("autocmd") " html templates au BufRead,BufNewFile *.mako setlocal filetype=html + au BufRead,BufNewFile *.ftl setlocal filetype=html " 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 |