Closed Cih2001 closed 1 year ago
some lsp commands
some lsp commands
- What LSP server?
- Can you pin point which commands work and which don't?
- Does it happen consistently or all the time?
lsp_document_diagnostics
attempt to call field 'CTX'
This part confuses me as it refers to an exisiting function in the core
module:
https://github.com/ibhagwan/fzf-lua/blob/c1de84f9c9cb227d2bef65643625f1fb8207bf8f/lua/fzf-lua/core.lua#L187
Just to eliminate digging in the wrong direction, can you delete the plugin and resinstall and let me know?
gopls: golang.org/x/tools/gopls v0.9.5
Just tried locally with gopls
and it worked, does this also happen for you with lua_ls
or just go?
attempt to call field 'CTX'
This part confuses me as it refers to an exisiting function in the
core
module:Just to eliminate digging in the wrong direction, can you delete the plugin and resinstall and let me know?
gopls: golang.org/x/tools/gopls v0.9.5
Just tried locally with
gopls
and it worked, does this also happen for you withlua_ls
or just go?
Hey, thanks for the suggestion, I completely deleted the plugin and reinstalled it, and it fixed the issue. Setting and unsetting the commit hash in Lazy didn't work, so I had to remove it fully from ~/.local/share/nvim/lazy
. I will close the issue, and thanks for your awesome plugin.
Wow I had a hunch since the error made no sense to me, never seen a partial git update like this, glad it worked or we would e spent hours and hours on such nonsense :)
Hey, after updating to the latest version, I get the following issue when running some lsp commands, such as
lsp_document_symbols
my config with this commit 'dada713c18b117ca7032979d32b9bf325440369d' runs fine.
Info
nvim --version
: NVIM v0.9.2fzf --version
: 0.42.0 (brew)mini.sh
fzf-lua configuration
```lua require('fzf-lua').setup({ -- fzf_bin = 'sk', -- use skim instead of fzf? -- https://github.com/lotabout/skim -- can also be set to 'fzf-tmux' file_ignore_patterns = { "mock_" }, winopts = { -- split = "belowright new",-- open in a split instead? -- "belowright new" : split below -- "aboveleft new" : split above -- "belowright vnew" : split right -- "aboveleft vnew : split left -- Only valid when using a float window -- (i.e. when 'split' is not defined, default) height = 0.85, -- window height width = 0.80, -- window width row = 0.35, -- window row position (0=top, 1=bottom) col = 0.50, -- window col position (0=left, 1=right) -- border argument passthrough to nvim_open_win(), also used -- to manually draw the border characters around the preview -- window, can be set to 'false' to remove all borders or to -- 'none', 'single', 'double', 'thicc' or 'rounded' (default) border = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" }, fullscreen = false, -- start fullscreen? -- highlights should optimally be set by the colorscheme using -- FzfLuaXXX highlights. If your colorscheme doesn't set these -- or you wish to override its defaults use these: hl = { cursorline = "CursorColumn", -- cursor line }, preview = { -- default = 'bat', -- override the default previewer? -- default uses the 'builtin' previewer border = "border", -- border|noborder, applies only to -- native fzf previewers (bat/cat/git/etc) wrap = "nowrap", -- wrap|nowrap hidden = "nohidden", -- hidden|nohidden vertical = "down:50%", -- up|down:size horizontal = "right:50%", -- right|left:size layout = "vertical", -- horizontal|vertical|flex flip_columns = 120, -- #cols to switch to horizontal on flex -- Only used with the builtin previewer: title = true, -- preview border title (file/buf)? title_align = "left", -- left|center|right, title alignment scrollbar = "float", -- `false` or string:'float|border' -- float: in-window floating border -- border: in-border chars (see below) scrolloff = "-2", -- float scrollbar offset from right -- applies only when scrollbar = 'float' scrollchars = { "█", "" }, -- scrollbar chars ({Description