diff options
chore: add type annotation for configs
Diffstat (limited to 'lsp/terraformls.lua')
| -rw-r--r-- | lsp/terraformls.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lsp/terraformls.lua b/lsp/terraformls.lua index 7b8c9d7c..bb358735 100644 --- a/lsp/terraformls.lua +++ b/lsp/terraformls.lua @@ -31,6 +31,7 @@ --- [which is not supported by terraform-ls](https://github.com/hashicorp/terraform-ls/blob/main/docs/features.md). --- Instead you should use `init_options` which passes the settings as part of the LSP initialize call --- [as is required by terraform-ls](https://github.com/hashicorp/terraform-ls/blob/main/docs/SETTINGS.md#how-to-pass-settings). +---@type vim.lsp.Config return { cmd = { 'terraform-ls', 'serve' }, filetypes = { 'terraform', 'terraform-vars' }, |
