diff options
| author | 2026-02-17 23:28:56 +0300 | |
|---|---|---|
| committer | 2026-02-17 23:28:56 +0300 | |
| commit | 2cd497a205c3f24b920045e939f396218e4d2aeb (patch) | |
| tree | cb4a06992b19d00d41cf566d88d4af91cf116c1a /config/nvim/lua/plugins/lsp_saga.lua | |
| parent | Починил zshrc (diff) | |
| download | dotfiles-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.lua | 24 |
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", + }, }, } |
