Closed eshepelyuk closed 3 hours ago
Fixed, keep in mind that you still need the helm tree-sitter grammar for now (https://github.com/nvim-treesitter/nvim-treesitter). Otherwise you will get errors again. I will try to make this more userfriendly later this weekend.
Sorry, but I think the fix should be to to remove all code from plugin/helm-ls.lua
file.
Autocommand should be created only by calling setup()
function,
When plugin enabled without invoking setup()
- it only adds filetype detection.
This also help to remove code duplication in plugin/helm-ls.lua
and setup()
.
Currently, I am receiving following error, even if i had this in my init.lua
require("helm-ls").setup({
conceal_templates = {
-- enable the replacement of templates with virtual text of their current values
enabled = false, -- this might change to false in the future
},
indent_hints = {
-- enable hints for indent and nindent functions
enabled = false,
-- show the hints only for the line the cursor is on
only_for_current_line = true,
},
})
To avoid this - I cloned the plugin and commented all code in plugin/helm-ls.lua
Feel free to open a PR for this.
NP opening a PR, but plz suggest what should I put there ?
Is emptying plugin/helm-ls.lua
enough ?
Sorry if im a bit uncooperative. I think i will just get back to you when I'm back on a PC and not on mobile. But thanks for the feedback <3
Sorry if im a bit uncooperative. I think i will just get back to you when I'm back on a PC and not on mobile. But thanks for the feedback <3
Opened this https://github.com/qvalentin/helm-ls.nvim/pull/5
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.2 Build type: Release LuaJIT 2.1.1727870382
Operating system/version
Linux 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux Using
vim-plug
as plugin manager.Describe the bug
After opening a file - I see this error when moving a cursor or clicking with mouse
Steps To Reproduce