diff options
Diffstat (limited to 'lua')
-rw-r--r-- | lua/core/maps.lua | 4 | ||||
-rw-r--r-- | lua/plugins/opts/lspconfig.lua | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lua/core/maps.lua b/lua/core/maps.lua index 61617cf..8c291e4 100644 --- a/lua/core/maps.lua +++ b/lua/core/maps.lua @@ -13,6 +13,10 @@ local maps = { end, "Toggle 80 column hint", }, + ["<Leader>r"] = { + vim.lsp.buf.rename, + "Rename with LSP" + }, }, t = { diff --git a/lua/plugins/opts/lspconfig.lua b/lua/plugins/opts/lspconfig.lua index 23fbaf0..8fb967c 100644 --- a/lua/plugins/opts/lspconfig.lua +++ b/lua/plugins/opts/lspconfig.lua @@ -43,6 +43,7 @@ lspconfig.gopls.setup({ }, }) +lspconfig.terraformls.setup({}) lspconfig.bashls.setup({}) lspconfig.nil_ls.setup({}) lspconfig.pyright.setup({}) @@ -50,4 +51,4 @@ lspconfig.pyright.setup({}) lspconfig.tsserver.setup({}) lspconfig.svelte.setup({}) lspconfig.vuels.setup({}) -lspconfig.htmx.setup{} +lspconfig.htmx.setup({}) |