summaryrefslogtreecommitdiff
path: root/config/nvim/lua/plugins/lsp_saga.lua
diff options
context:
space:
mode:
author2026-02-17 23:28:56 +0300
committer2026-02-17 23:28:56 +0300
commit2cd497a205c3f24b920045e939f396218e4d2aeb (patch)
treecb4a06992b19d00d41cf566d88d4af91cf116c1a /config/nvim/lua/plugins/lsp_saga.lua
parentПочинил zshrc (diff)
downloaddotfiles-2cd497a205c3f24b920045e939f396218e4d2aeb.tar.gz
dotfiles-2cd497a205c3f24b920045e939f396218e4d2aeb.tar.bz2
dotfiles-2cd497a205c3f24b920045e939f396218e4d2aeb.tar.xz
dotfiles-2cd497a205c3f24b920045e939f396218e4d2aeb.zip
added ZK plugin
Diffstat (limited to '')
-rw-r--r--config/nvim/lua/plugins/lsp_saga.lua24
1 files changed, 24 insertions, 0 deletions
diff --git a/config/nvim/lua/plugins/lsp_saga.lua b/config/nvim/lua/plugins/lsp_saga.lua
index ab8177f..546c073 100644
--- a/config/nvim/lua/plugins/lsp_saga.lua
+++ b/config/nvim/lua/plugins/lsp_saga.lua
@@ -1,8 +1,32 @@
return {
"nvimdev/lspsaga.nvim",
+ dependencies = {
+ "nvim-treesitter/nvim-treesitter", -- optional
+ "nvim-tree/nvim-web-devicons", -- optional
+ },
opts = {
lightbulb = {
enable = false,
},
+ diagnostic = {
+ show_layout = "float",
+ auto_preview = true,
+ keys = {
+ exec_action = "o",
+ quit = "q",
+ },
+ },
+ },
+ keys = {
+ {
+ "<leader>e",
+ "<cmd>Lspsaga show_buf_diagnostics<cr>",
+ desc = "Show buffer diagnostic",
+ },
+ {
+ "<leader>we",
+ "<cmd>Lspsaga show_workspace_diagnostics<cr>",
+ desc = "Show workspace diagnostic",
+ },
},
}