From 5616aef5edc84e7b8eabde61728d7bd049319d5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Miguel=20R=C3=BAa?= Date: Thu, 2 May 2024 15:05:49 +0200 Subject: [PATCH] Adding lsp of terraform and github copilot --- init.lua | 2 ++ lua/custom/plugins/github-copilot.lua | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 lua/custom/plugins/github-copilot.lua diff --git a/init.lua b/init.lua index 2600a433..4aef212d 100644 --- a/init.lua +++ b/init.lua @@ -685,6 +685,7 @@ require('lazy').setup({ formatters_by_ft = { lua = { 'stylua' }, go = { 'gofmt', 'goimports', 'golines' }, + terraform = { 'terraform_fmt' }, -- Conform can also run multiple formatters sequentially -- python = { "isort", "black" }, -- @@ -885,6 +886,7 @@ require('lazy').setup({ 'gomod', 'gowork', 'gosum', + 'hcl', }, -- Autoinstall languages that are not installed auto_install = true, diff --git a/lua/custom/plugins/github-copilot.lua b/lua/custom/plugins/github-copilot.lua new file mode 100644 index 00000000..fdcf3a4a --- /dev/null +++ b/lua/custom/plugins/github-copilot.lua @@ -0,0 +1,7 @@ +return { + 'github/copilot.vim', + opts = {}, + config = function() + -- vim.g.copilot#enable() + end, +}