diff options
Diffstat (limited to 'config.vim')
-rw-r--r-- | config.vim | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -15,3 +15,14 @@ augroup filetypedetect augroup END let g:python_highlight_all = 1 + +augroup filetypedetect + if v:version < 704 + " NOTE: this line fixes an issue with the default system-wide lisp ftplugin + " which didn't define b:undo_ftplugin on older Vim versions + " (*.jl files are recognized as lisp) + autocmd BufRead,BufNewFile *.jl let b:undo_ftplugin = "setlocal comments< define< formatoptions< iskeyword< lisp<" + endif + + autocmd BufRead,BufNewFile *.jl set filetype=julia +augroup END |