JuliaEditorSupport / julia-vim

Vim support for Julia.
http://julialang.org/
Other
752 stars 94 forks source link

Conflict with tab key #276

Open AlanAxp opened 3 years ago

AlanAxp commented 3 years ago

When I try to press tab key in some Julia file, I got this message in terminal

E15: Invalid expression: pumvisible() ? "\^N" : <80><fd>R73_check_back_space() ? "\^I" : coc#refresh()

image

I thought was a conflict with coc-julia, but I uninstalled it, and the issue persists

Some help?

carlobaldassi commented 3 years ago

Well, that line comes from an example configuration that is found in coc.nvim, here:

inoremap <silent><expr> <TAB>
      \ pumvisible() ? "\<C-n>" :
      \ <SID>check_back_space() ? "\<TAB>" :
      \ coc#refresh()

So I guess that you have it in your vimrc.

If I do the same though I see no conflicts between julia-vim and coc, everything works fine for me. Do you have the latest version of julia-vim installed? If you do, can you provide more info about your setup?