Adding lsp of terraform and github copilot
This commit is contained in:
parent
35e0890f10
commit
5616aef5ed
2
init.lua
2
init.lua
|
@ -685,6 +685,7 @@ require('lazy').setup({
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
lua = { 'stylua' },
|
lua = { 'stylua' },
|
||||||
go = { 'gofmt', 'goimports', 'golines' },
|
go = { 'gofmt', 'goimports', 'golines' },
|
||||||
|
terraform = { 'terraform_fmt' },
|
||||||
-- Conform can also run multiple formatters sequentially
|
-- Conform can also run multiple formatters sequentially
|
||||||
-- python = { "isort", "black" },
|
-- python = { "isort", "black" },
|
||||||
--
|
--
|
||||||
|
@ -885,6 +886,7 @@ require('lazy').setup({
|
||||||
'gomod',
|
'gomod',
|
||||||
'gowork',
|
'gowork',
|
||||||
'gosum',
|
'gosum',
|
||||||
|
'hcl',
|
||||||
},
|
},
|
||||||
-- Autoinstall languages that are not installed
|
-- Autoinstall languages that are not installed
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
return {
|
||||||
|
'github/copilot.vim',
|
||||||
|
opts = {},
|
||||||
|
config = function()
|
||||||
|
-- vim.g.copilot#enable()
|
||||||
|
end,
|
||||||
|
}
|
Loading…
Reference in New Issue