aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGithub Actions <actions@github>2021-04-06 14:43:38 +0000
committerGithub Actions <actions@github>2021-04-06 14:43:38 +0000
commit225859876bb8f9df7417f008ca790e0b2753eeab (patch)
tree8224a3b5a969100e4aa91fa943d6ec3d8e44ab12
parentMerge pull request #820 from shihanng/tflint (diff)
downloadnvim-lspconfig-225859876bb8f9df7417f008ca790e0b2753eeab.tar
nvim-lspconfig-225859876bb8f9df7417f008ca790e0b2753eeab.tar.gz
nvim-lspconfig-225859876bb8f9df7417f008ca790e0b2753eeab.tar.bz2
nvim-lspconfig-225859876bb8f9df7417f008ca790e0b2753eeab.tar.lz
nvim-lspconfig-225859876bb8f9df7417f008ca790e0b2753eeab.tar.xz
nvim-lspconfig-225859876bb8f9df7417f008ca790e0b2753eeab.tar.zst
nvim-lspconfig-225859876bb8f9df7417f008ca790e0b2753eeab.zip
[docgen] Update CONFIG.md
skip-checks: true
-rw-r--r--CONFIG.md26
1 files changed, 23 insertions, 3 deletions
diff --git a/CONFIG.md b/CONFIG.md
index 619a601c..b8cab9f1 100644
--- a/CONFIG.md
+++ b/CONFIG.md
@@ -70,6 +70,7 @@ that config.
- [svelte](#svelte)
- [terraformls](#terraformls)
- [texlab](#texlab)
+- [tflint](#tflint)
- [tsserver](#tsserver)
- [vala_ls](#vala_ls)
- [vimls](#vimls)
@@ -738,9 +739,9 @@ This server accepts configuration via the `settings` key.
Whether to show the Flutter Outline tree in the sidebar\.
-- **`dart.flutterRunAdditionalArgs`**: `array`
+- **`dart.flutterRunAdditionalArgs`**: `null|array`
- Default: `{}`
+ Default: `vim.NIL`
Array items: `{type = "string"}`
@@ -856,7 +857,7 @@ This server accepts configuration via the `settings` key.
Default: `"never"`
- Whether to automatically open DevTools at the start of a debug session\.
+ Whether to automatically open DevTools at the start of a debug session\. If embedded DevTools is enabled\, this will launch the Widget Inspector embedded for Flutter projects\, or launch DevTools externally in a browser for Dart projects\.
- **`dart.openTestView`**: `array`
@@ -5256,6 +5257,25 @@ require'lspconfig'.texlab.setup{}
}
```
+## tflint
+
+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.
+
+
+```lua
+require'lspconfig'.tflint.setup{}
+
+ Commands:
+
+ Default Values:
+ cmd = { "tflint", "--langserver" }
+ filetypes = { "terraform" }
+ root_dir = root_pattern(".terraform", ".git", ".tflint.hcl")
+```
+
## tsserver
https://github.com/theia-ide/typescript-language-server