Commit graph

9 commits

Author SHA1 Message Date
3e3d635d6b Add commands for using/navigating "lsp references" 2024-04-19 11:19:36 +09:00
93d7caa169 Add lsp keybinding "<leader>r" for get-references 2024-04-18 13:29:15 +09:00
354ed23291 Add shortcuts to LSP get declaration/definition
nvim-lspconfig already has shortcuts to declaration/definition with "gd"
and "gD", but in testing, they did not behave the same as the shortcuts
defined in this commit for some reason.

<leader>d and <leader>D are the shortcuts defined for
definition/declaration (<leader> is by defalt back-slash "\").

Show floating diagnostic changed to <leader>F.
2024-04-17 13:02:12 +09:00
8dd5496905 Change Ctrl-D lsp shortcut to <leader>d 2024-02-22 14:19:04 +09:00
ab25b5a959 Add keyboard shortcut for "open_float" in loadlsp
Ctrl-D on a line with diagnostic will open a floating window with that
diagnostic (when lsp is enabled).
2024-02-22 14:14:52 +09:00
691b776858 Update config for "quality-of-life" changes
Comments in init.lua.

(<leader> is backspace usually.)

Disable "q" mappings, set "<leader>q" to use quick-comment.
Set "<leader>f" to use treesitter-fold.
Set "<leader>l" to load lsp-plugins.
2024-02-21 14:19:57 +09:00
3874ba55b6 Fix syntax highlighting (use tree-sitter, not lsp) 2023-08-06 19:46:39 +09:00
9006080bfd Use unlicense for loadlsp.vim 2023-07-06 16:21:27 +09:00
98b80f1adf Add submoduules of used nvim plugins 2023-07-06 16:15:08 +09:00