diff options
| author | Peter Benjamin <petermbenjamin@gmail.com> | 2024-04-26 00:50:52 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-26 15:50:52 +0800 |
| commit | cc89aa98d3cbe10e2b06683cbd57bc619cfb0fe6 (patch) | |
| tree | 869be71148078ea5225116704eb64d33ca31827e | |
| parent | ci(docs): reword "check config changes" #3123 (diff) | |
| download | nvim-lspconfig-cc89aa98d3cbe10e2b06683cbd57bc619cfb0fe6.tar nvim-lspconfig-cc89aa98d3cbe10e2b06683cbd57bc619cfb0fe6.tar.gz nvim-lspconfig-cc89aa98d3cbe10e2b06683cbd57bc619cfb0fe6.tar.bz2 nvim-lspconfig-cc89aa98d3cbe10e2b06683cbd57bc619cfb0fe6.tar.lz nvim-lspconfig-cc89aa98d3cbe10e2b06683cbd57bc619cfb0fe6.tar.xz nvim-lspconfig-cc89aa98d3cbe10e2b06683cbd57bc619cfb0fe6.tar.zst nvim-lspconfig-cc89aa98d3cbe10e2b06683cbd57bc619cfb0fe6.zip | |
fix(snyk): add terraform filetypes (#3125)
| -rw-r--r-- | lua/lspconfig/server_configurations/snyk_ls.lua | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/snyk_ls.lua b/lua/lspconfig/server_configurations/snyk_ls.lua index fb60dea6..50faa0d4 100644 --- a/lua/lspconfig/server_configurations/snyk_ls.lua +++ b/lua/lspconfig/server_configurations/snyk_ls.lua @@ -4,7 +4,19 @@ return { default_config = { cmd = { 'snyk-ls' }, root_dir = util.root_pattern('.git', '.snyk'), - filetypes = { 'go', 'gomod', 'javascript', 'typescript', 'json', 'python', 'requirements', 'helm', 'yaml' }, + filetypes = { + 'go', + 'gomod', + 'javascript', + 'typescript', + 'json', + 'python', + 'requirements', + 'helm', + 'yaml', + 'terraform', + 'terraform-vars', + }, single_file_support = true, settings = {}, init_options = { |
