-
-
Notifications
You must be signed in to change notification settings - Fork 298
Description
Describe the bug
Why do I always get 2 icons and have weird margins on the left side, I make sure lsp doesn't have any duplicates turned on, it has one icon some of the time but two most of the time!
-- improves the Neovim built-in LSP experience
return function()
local border = require('core.custom-style').border
require('lspsaga').setup({
ui = {
border = border,
},
diagnostic = {
keys = {
quit = { 'q', '' },
},
},
code_action = {
show_server_name = true,
},
finder = {
max_height = 0.5,
},
lightbulb = {
virtual_text = false,
},
})
vim.api.nvim_create_autocmd('VimEnter', {
callback = function()
vim.keymap.set('n', 'gh', 'Lspsaga hover_doc')
vim.keymap.set('n', 'rn', 'Lspsaga rename')
vim.keymap.set('n', 'ca', 'Lspsaga code_action')
vim.keymap.set('n', 'le', 'Lspsaga show_buf_diagnostics')
vim.keymap.set('n', 'gd', vim.lsp.buf.definition)
vim.keymap.set('n', 'gr', 'Lspsaga finder ref')
end,
})
end
Steps to reproduce
I just simply configured it and then hover
Expected behavior
only one icon
Neovim version (nvim -v)
0.11.3
lspsaga commit
Terminal name/version
kitty