diff options
| author | Github Actions <actions@github> | 2021-04-06 14:43:38 +0000 |
|---|---|---|
| committer | Github Actions <actions@github> | 2021-04-06 14:43:38 +0000 |
| commit | 225859876bb8f9df7417f008ca790e0b2753eeab (patch) | |
| tree | 8224a3b5a969100e4aa91fa943d6ec3d8e44ab12 | |
| parent | Merge pull request #820 from shihanng/tflint (diff) | |
| download | nvim-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.md | 26 |
1 files changed, 23 insertions, 3 deletions
@@ -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 |
