about summary refs log tree commit diff
path: root/vim/.vim
diff options
context:
space:
mode:
authorRaphael McSinyx <vn.mcsinyx@gmail.com>2017-01-11 10:03:51 +0700
committerRaphael McSinyx <vn.mcsinyx@gmail.com>2017-01-11 10:03:51 +0700
commit3722d3e087637b952e34dfd326b0b4d362705bef (patch)
treee0f91f188f68beafae547bbd09b5be85ace4a72f /vim/.vim
parent29d1e5e02f04683d54b4d952ef40b11896beebc8 (diff)
downloaddotfiles-3722d3e087637b952e34dfd326b0b4d362705bef.tar.gz
Update 20170111
Diffstat (limited to 'vim/.vim')
-rwxr-xr-xvim/.vim/vimrc4
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)