lspsaga.nvim
lspsaga.nvim copied to clipboard
key highlight_prefix not exist in config values
Error:
whenever i try to source the configuration file, this error pops up
Error detected while processing :source (no file): E5108: Error executing lua ...site/pack/packer/start/lspsaga.nvim/lua/lspsaga/init.lua:58: [LspSaga] Key highlight_prefi x not exist in config values stack traceback: [C]: in function 'error' ...site/pack/packer/start/lspsaga.nvim/lua/lspsaga/init.lua:58: in function 'extend_config' ...site/pack/packer/start/lspsaga.nvim/lua/lspsaga/init.lua:76: in function 'setup'
Additional information
My plugins manager file using packer.nvim
vim.cmd [[packadd packer.nvim]]
return require('packer').startup(function(use)
-- Packer can manage itself
use 'wbthomason/packer.nvim'
use {
'nvim-telescope/telescope.nvim', tag = '0.1.5',
-- or , branch = '0.1.x',
requires = { {'nvim-lua/plenary.nvim'} }
}
use 'echasnovski/mini.indentscope'
use {
"windwp/nvim-autopairs",
config = function() require("nvim-autopairs").setup {} end
}
use {
"nvim-telescope/telescope-file-browser.nvim",
requires = { "nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim" }
}
use {
'nvim-lualine/lualine.nvim',
requires = { 'nvim-tree/nvim-web-devicons'}
}
use {
'nvim-treesitter/nvim-treesitter',
--run = ':TSUpdate'
}
use {
'folke/tokyonight.nvim'
}
use {'neovim/nvim-lspconfig'}
use { 'kkharji/lspsaga.nvim', branch = 'nvim6.0' or 'nvim51' }
end)
My configuration file for lspsaga (where the error occurs)
local lspsaga = require 'lspsaga'
lspsaga.setup { -- defaults ...
debug = false,
use_saga_diagnostic_sign = true,
-- diagnostic sign
error_sign = "",
warn_sign = "",
hint_sign = "",
infor_sign = "",
diagnostic_header_icon = " ",
-- code action title icon
code_action_icon = " ",
code_action_prompt = {
enable = true,
sign = true,
sign_priority = 40,
virtual_text = true,
},
finder_definition_icon = " ",
finder_reference_icon = " ",
max_preview_lines = 10,
finder_action_keys = {
open = "o",
vsplit = "s",
split = "i",
quit = "q",
scroll_down = "<C-f>",
scroll_up = "<C-b>",
},
code_action_keys = {
quit = "q",
exec = "<CR>",
},
rename_action_keys = {
quit = "<C-c>",
exec = "<CR>",
},
definition_preview_icon = " ",
border_style = "single",
rename_prompt_prefix = "➤",
rename_output_qflist = {
enable = false,
auto_open_qflist = false,
},
server_filetype_map = {},
diagnostic_prefix_format = "%d. ",
diagnostic_message_format = "%m %c",
highlight_prefix = false,
}
Im using Arch WSL2 Neovim 0.9.5