diff options
Diffstat (limited to 'vim/.vim/vimrc')
-rwxr-xr-x | vim/.vim/vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index b6caf91..8a3a409 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -22,9 +22,9 @@ set tabstop=8 expandtab shiftwidth=4 softtabstop=4 smarttab set omnifunc=syntaxcomplete#Complete set dictionary=/usr/share/dict/words set keymap=vietnamese-telex imdisable iminsert=0 imsearch=-1 -autocmd BufNewFile,BufRead *.PAS set filetype=pascal +autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal autocmd FileType vim,pascal,html setlocal shiftwidth=2 tabstop=2 -autocmd FileType c setlocal noexpandtab shiftwidth=8 tabstop=8 +autocmd FileType c,h,cpp,arduino setlocal noexpandtab shiftwidth=8 tabstop=8 autocmd FileType markdown setlocal textwidth=79 autocmd FileType python syntax keyword pythonBoolean False True None autocmd BufWinEnter * let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1) |