diff options
| author | William Boman <william@redwill.se> | 2021-12-10 18:45:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-10 09:45:36 -0800 |
| commit | c9b7c74b8715c8595964705ce19e77468cff544e (patch) | |
| tree | 6af3733daad403fd51688e27231f798ffb58f506 /lua | |
| parent | chore: fix missing [lspconfig] prefix for vim.notify (#1546) (diff) | |
| download | nvim-lspconfig-c9b7c74b8715c8595964705ce19e77468cff544e.tar nvim-lspconfig-c9b7c74b8715c8595964705ce19e77468cff544e.tar.gz nvim-lspconfig-c9b7c74b8715c8595964705ce19e77468cff544e.tar.bz2 nvim-lspconfig-c9b7c74b8715c8595964705ce19e77468cff544e.tar.lz nvim-lspconfig-c9b7c74b8715c8595964705ce19e77468cff544e.tar.xz nvim-lspconfig-c9b7c74b8715c8595964705ce19e77468cff544e.tar.zst nvim-lspconfig-c9b7c74b8715c8595964705ce19e77468cff544e.zip | |
fix(spectral): add more root_dirs (#1550)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/spectral.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/spectral.lua b/lua/lspconfig/server_configurations/spectral.lua index 56db9816..d597c40a 100644 --- a/lua/lspconfig/server_configurations/spectral.lua +++ b/lua/lspconfig/server_configurations/spectral.lua @@ -6,7 +6,7 @@ return { default_config = { cmd = { bin_name, '--stdio' }, filetypes = { 'yaml', 'json', 'yml' }, - root_dir = util.root_pattern('.spectral.yaml', '.spectral.yml'), + root_dir = util.root_pattern('.spectral.yaml', '.spectral.yml', '.spectral.json', '.spectral.js'), single_file_support = true, settings = { enable = true, |
