diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2024-01-26 11:21:54 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2024-01-26 11:21:54 -0600 |
commit | a01152c8146817d904d8f2980c689280c4cbec0b (patch) | |
tree | cd2438b177d03aacb089471311f5c37682d3d4be /lua/plugins | |
parent | dc503681de2a31c2ec68ccc8e8fd0c83f633f8a8 (diff) |
feat: add leap, and keybind
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, |