Added trouble

This commit is contained in:
2023-02-07 22:31:05 -08:00
parent 74898aacff
commit fa057cb488
2 changed files with 26 additions and 12 deletions

View File

@ -35,7 +35,11 @@
(bind! :n :gr "<cmd>Telescope lsp_references<cr>" buf)
(bind! :n :gd "<cmd>Telescope lsp_definitions<cr>" buf)
(bind! :n :gI "<cmd>Telescope lsp_implementations<cr>" buf)
(bind! :n :D "<cmd>Telescope lsp_type_definitions<cr>" buf))
(bind! :n :D "<cmd>Telescope lsp_type_definitions<cr>" buf)
;; Some trouble commands
(bind! :n :<leader>e "<cmd>TroubleToggle document_diagnostics<cr>")
(bind! :n :<leader>E "<cmd>TroubleToggle workspace_diagnostics<cr>"))
(fn get-data-dir [server root]