Commits

johannes committed 61fa655

Make gf work on matlab functions

  • Participants
  • Parent commits a1d1156

Comments (0)

Files changed (1)

File plugin/vimrc.vim

 autocmd! FileType python                                     " Remove all python autocmds
 autocmd FileType python set suffixesadd+=.py                 " Make 'gf' work on python import statements
 autocmd FileType python set omnifunc=pythoncomplete#Complete " Omnicomplete with CTRL+x CTRL+o
+autocmd FileType matlab set suffixesadd+=.m                  " Make 'gf' work on matlab functions
 autocmd! BufWritePost vimrc.vim source %                     " Reload vimrc on save
 " To get syntax highlighting for different filetypes:
 " Using 'setlocal ft' instead of 'setf' to override default, see :help setf