diff options
Diffstat (limited to 'lua/plugins')
-rw-r--r-- | lua/plugins/leap.lua | 6 | ||||
-rw-r--r-- | lua/plugins/lspconfig.lua | 1 | ||||
-rw-r--r-- | lua/plugins/treesitter.lua | 4 |
3 files changed, 9 insertions, 2 deletions
diff --git a/lua/plugins/leap.lua b/lua/plugins/leap.lua new file mode 100644 index 0000000..b1ef5e6 --- /dev/null +++ b/lua/plugins/leap.lua @@ -0,0 +1,6 @@ +return { + 'ggandor/leap.nvim', + config = function() + require('leap').create_default_mappings() + end, +} diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index 219e3ca..c01e575 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -78,6 +78,7 @@ return { end nmap('<leader>f', '<CMD>Format<CR>', '[F]ormat') + nmap('<leader>R', '<CMD>LspRestart<CR>', '[R]estart (lsp)') nmap('<leader>rn', vim.lsp.buf.rename, '[R]e[n]ame') nmap('<leader>ca', vim.lsp.buf.code_action, '[C]ode [A]ction') diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index fe79b6a..3d7a48e 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -23,7 +23,7 @@ return { 'php', 'sql', 'gdscript', - 'godot_resource' + 'godot_resource', }, auto_install = false, highlight = { enable = true }, @@ -31,7 +31,7 @@ return { enable = true, disable = { 'python', - 'css',}, + 'css', }, }, incremental_selection = { enable = true, |