diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -108,6 +108,9 @@ if has("autocmd") | |||
108 | autocmd FileType text setlocal textwidth=78 | " text files: set 'textwidth' to 78 | 108 | autocmd FileType text setlocal textwidth=78 | " text files: set 'textwidth' to 78 |
109 | autocmd FileType gitcommit set tw=72 | " longer commit messages without auto line wrapping | 109 | autocmd FileType gitcommit set tw=72 | " longer commit messages without auto line wrapping |
110 | autocmd FileType LaTeX let g:tex_flavor = "latex"| set conceallevel=1| set concealcursor= | 110 | autocmd FileType LaTeX let g:tex_flavor = "latex"| set conceallevel=1| set concealcursor= |
111 | autocmd BufNewFile,BufReadPost *.config set filetype=xml | " visual studio config file | ||
112 | autocmd BufNewFile,BufReadPost *.csproj set filetype=xml | " visual studio project file | ||
113 | autocmd BufNewFile,BufReadPost *.sln set filetype=xml | " visual studio solution file | ||
111 | endif | 114 | endif |
112 | 115 | ||
113 | "================================================================================ | 116 | "================================================================================ |