LunarVim / Launch.nvim

🚀 Launch.nvim is modular starter for Neovim.
GNU General Public License v3.0
2k stars 474 forks source link

Illuminate not working #100

Closed augustoolucas closed 1 year ago

augustoolucas commented 1 year ago

Hello there! The Illuminate plugin is not working for me. When I run :IlluminateDebug, I get the following output:

buf_should_illuminate 1 false
config {
  delay = 200,
  filetype_overrides = {},
  filetypes_allowlist = {},
  filetypes_denylist = { "dirvish", "fugitive", "alpha", "NvimTree", "packer", "neogitstatus", "Trouble", "lir", "Outline", "spectre_panel", "toggleterm", "DressingSelect", "TelescopePrompt" },
  modes_allowlist = {},
  modes_denylist = {},
  providers = { "lsp", "treesitter", "regex" },
  providers_regex_syntax_allowlist = {},
  providers_regex_syntax_denylist = {},
  under_cursor = true
}
started true
provider table: 0x7f486c54fc60 lsp

I tried:IlluminateResume/ResumeBuf/Toggle/ToggleBuf but it didn't work either. Any ideas on what is causing this?

kiyoon commented 1 year ago

No idea about the bug but illuminate has some changes on their new version I realised recently. You need to remove the illuminate.on_attach part in lsp/handler.lua. Even if you don't delete it it may work but I saw problems with it eg. LSP being extremely slow.

Rishabh672003 commented 1 year ago

its working in the lazy port https://github.com/LunarVim/nvim-basic-ide/tree/lazy

i guess use it

Rishabh672003 commented 1 year ago

now it should work fine

kiyoon commented 1 year ago

@Rishabh672003 You should remove this line:

https://github.com/LunarVim/nvim-basic-ide/blob/4b66b1141c5477c6152f80426683974d18c84394/lua/user/lsp.lua#L49