feat: add terraform lsp & lint
This commit is contained in:
parent
dc0e0fa634
commit
aaab5e3b57
3 changed files with 63 additions and 60 deletions
|
@ -4,6 +4,7 @@ local options = {
|
|||
css = { "prettier" },
|
||||
html = { "prettier" },
|
||||
python = { "ruff_format", "ruff_fix", "ruff_organize_imports" },
|
||||
tf = { "tflint", "terraform-ls" },
|
||||
go = { "goimports", "gofmt" },
|
||||
json = { "jq" },
|
||||
},
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
local configs = require "nvchad.configs.lspconfig"
|
||||
local configs = require("nvchad.configs.lspconfig")
|
||||
configs.defaults()
|
||||
|
||||
local servers = {
|
||||
|
@ -17,6 +17,7 @@ local servers = {
|
|||
},
|
||||
},
|
||||
zls = {},
|
||||
terraformls = {},
|
||||
|
||||
pyright = {
|
||||
settings = {
|
||||
|
|
|
@ -25,6 +25,7 @@ return {
|
|||
"python",
|
||||
"typescript",
|
||||
"go",
|
||||
"terraform",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue