We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use 'o' to call code action with diagnostic failed.
go version: 1.22.2 language_file: main.go
package main import ( "fmt" "io/ioutil" ) func mian() { _, err := ioutil.ReadFile("./file.txt") if err != nil { fmt.Println(err) } }
saga.lua
return { "nvimdev/lspsaga.nvim", dependencies = { "nvim-treesitter/nvim-treesitter", -- optional "nvim-tree/nvim-web-devicons", -- optional }, event = "BufReadPre", config = function() local setup, saga = pcall(require, "lspsaga") if not setup then return end saga.setup({ -- when there has code action it will show a lightbulb lightbulb = { enable = false, sign = false, }, beacon = { enable = false, }, finder = { keys = { toggle_or_open = "<CR>", quit = "q", close = "<ESC>", }, }, rename = { in_select = false, }, definition = { keys = { tabnew = "<C-c>n", }, }, }) end, }
use code action success.
NVIM v0.9.5
"lspsaga.nvim": { "branch": "main", "commit": "052234296f13e2705d5d290c7bd5a36d3dd81fde" }
terminal
The text was updated successfully, but these errors were encountered:
try comment this section on your lspsaga:
api.nvim_create_autocmd('CursorMoved', { buffer = self.action_bufnr, callback = function() self:set_cursor(tuples) end, })
/.local/share/nvim/lazy/lspsaga.nvim/lua/lspsaga/codeaction/init.lua
Sorry, something went wrong.
please update plugin first... your version too old
No branches or pull requests
Describe the bug
Use 'o' to call code action with diagnostic failed.
Steps to reproduce
go version: 1.22.2
language_file:
main.go
saga.lua
Expected behavior
use code action success.
Neovim version (nvim -v)
NVIM v0.9.5
lspsaga commit
"lspsaga.nvim": { "branch": "main", "commit": "052234296f13e2705d5d290c7bd5a36d3dd81fde" }
Terminal name/version
terminal
The text was updated successfully, but these errors were encountered: