about summary refs log tree commit diff
path: root/vim/.vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vim/vimrc')
-rwxr-xr-xvim/.vim/vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc
index e93cb2b..b8c5ed3 100755
--- a/vim/.vim/vimrc
+++ b/vim/.vim/vimrc
@@ -16,6 +16,7 @@ set omnifunc=syntaxcomplete#Complete
 set diffopt+=algorithm:patience
 autocmd BufWinEnter * let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1)
 autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal
+autocmd BufNewFile,BufRead *.m setlocal filetype=octave
 autocmd FileType c,h,go,glsl setlocal cindent cinoptions=(0 noexpandtab shiftwidth=8
 autocmd FileType rst setlocal shiftwidth=3
 autocmd FileType css,javascript,python,perl6 setlocal shiftwidth=4