Move lsp config to local file structure
This commit is contained in:
parent
e5c3bb2492
commit
20801272fc
383 changed files with 11829 additions and 114 deletions
13
.config/nvim/lsp/tflint.lua
Normal file
13
.config/nvim/lsp/tflint.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
---@brief
|
||||
---
|
||||
--- https://github.com/terraform-linters/tflint
|
||||
---
|
||||
--- A pluggable Terraform linter that can act as lsp server.
|
||||
--- Installation instructions can be found in https://github.com/terraform-linters/tflint#installation.
|
||||
|
||||
---@type vim.lsp.Config
|
||||
return {
|
||||
cmd = { 'tflint', '--langserver' },
|
||||
filetypes = { 'terraform' },
|
||||
root_markers = { '.terraform', '.git', '.tflint.hcl' },
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue