diff --git a/modules/hm/vim.nix b/modules/hm/vim.nix index f722671..4076703 100644 --- a/modules/hm/vim.nix +++ b/modules/hm/vim.nix @@ -129,6 +129,8 @@ let vp = pkgs.vimPlugins; in { config = "colorscheme nightfox"; } + vp.nvim-web-devicons + # Set lualine as statusline { plugin = vp.lualine-nvim; @@ -295,6 +297,18 @@ let vp = pkgs.vimPlugins; in { } vp.nvim-treesitter-context + + { + plugin = vp.trouble-nvim; + type = "lua"; + config = '' + vim.keymap.set("n", "xx", function() require("trouble").toggle() end) + vim.keymap.set("n", "xw", function() require("trouble").toggle("workspace_diagnostics") end) + vim.keymap.set("n", "xd", function() require("trouble").toggle("document_diagnostics") end) + vim.keymap.set("n", "xq", function() require("trouble").toggle("quickfix") end) + vim.keymap.set("n", "xl", function() require("trouble").toggle("loclist") end) + ''; + } ]; # settings = { ignorecase = true; }; # coc.enable = true;