mfussenegger / nvim-jdtls

Extensions for the built-in LSP support in Neovim for eclipse.jdt.ls
GNU General Public License v3.0
1.1k stars 62 forks source link

E5108 when using jumplist #103

Closed jaredculp closed 3 years ago

jaredculp commented 3 years ago

If I go to the definition of a file and then hit <C-o> to jump back, the following error message appears:

Error detected while processing BufLeave Autocommands for "*":
E5108: Error executing lua [string ":lua"]:1: E539: Illegal character <C>

Config:

# ~/.config/nvim/ftplugin/java.lua
require'jdtls'.start_or_attach{
  cmd = {'jdtls.sh'}
}
mfussenegger commented 3 years ago

Do you have any additional BufLeave auto commands setup?

You can get a list with: :autocmd BufLeave *

jaredculp commented 3 years ago
:autocmd BufLeave *
--- Autocommands ---
lualine  BufLeave
    *         lua vim.wo.statusline=require'lualine'.statusline()
FileExplorer  BufLeave
    *         if &ft != "netrw"|let w:netrw_prvfile= expand("%:p")|endif
mfussenegger commented 3 years ago

Does the error also happen if you disable the statusline BufLeave autocmd?

jaredculp commented 3 years ago

Looks like its an issue with the status line. I'll raise an issue over there. Thanks for the quick response and for a great plugin!