diff options
author | Juan J. Martinez <jjm@usebox.net> | 2022-06-02 10:38:03 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-06-02 10:38:03 +0100 |
commit | f34ab32d9a06ebc2387f2896236b95cbc7cfe00e (patch) | |
tree | 58873d8b15d53db2fec07eae009b015ccd7fced7 | |
parent | 35970ab0cc2a88e9a763936a56f84a072cc1be8c (diff) | |
download | dotnvim-f34ab32d9a06ebc2387f2896236b95cbc7cfe00e.tar.gz dotnvim-f34ab32d9a06ebc2387f2896236b95cbc7cfe00e.zip |
Added trouble
-rw-r--r-- | lsp.lua | 7 | ||||
-rw-r--r-- | vimrc | 4 |
2 files changed, 11 insertions, 0 deletions
@@ -74,3 +74,10 @@ vim.diagnostic.config({ virtual_text = false, signs = true }) -- for go -- install gopls with: go install golang.org/x/tools/gopls@latest vim.cmd([[autocmd BufWritePre *.go :lua vim.lsp.buf.formatting_seq_sync()]]) + +-- for trouble +require("trouble").setup() + +vim.api.nvim_set_keymap("n", "<leader>xx", "<cmd>Trouble<cr>", + {silent = true, noremap = true} +) @@ -76,6 +76,10 @@ if has('nvim-0.5') Plug 'hrsh7th/cmp-vsnip' Plug 'hrsh7th/vim-vsnip' + " for LSP + Plug 'kyazdani42/nvim-web-devicons' + Plug 'folke/trouble.nvim' + " life improvements Plug 'ojroques/nvim-bufdel' |