Open ararslan opened 4 years ago
It also works to do autocmd BufRead,BufNewFile *.jl set filetype=julia
before call plug#begin()
, but it's weird that it's necessary.
@ararslan It's fine to override Vim's ftdetect.vim
like that. You can put that code in ftdetect/ftdetect.vim
so that it still works after :filetype off
command.
I don't understand, I thought the resolution of #85 was that this should work?
By default, Vim thinks that .jl files are librep Lisp. The Julia language uses .jl as its file extension, and you can get .jl files to be recognized as Julia with the julia-vim plugin. However, it seems that lazily loaded plugins with
{ 'for': 'lisp' }
load for .jl files, even with julia-vim installed with itsPlug
line before that of the other. That suggests to me a load order issue, like #85, but that particular issue was closed years ago.For reference, here is the specific setup where this is occurring for me:
In the meantime I've been able to get around this by setting
but that sort of defeats the purpose of lazily loading parinfer-rust in the first place.