mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-04-01 18:51:53 +00:00
Merge branch 'main' into lazy-file
This commit is contained in:
commit
e0715c4e78
4 changed files with 34 additions and 0 deletions
|
@ -272,3 +272,7 @@
|
||||||
[Butzist](https://github.com/butzist):
|
[Butzist](https://github.com/butzist):
|
||||||
|
|
||||||
- Add Helm chart support under `vim.languages.helm`.
|
- Add Helm chart support under `vim.languages.helm`.
|
||||||
|
|
||||||
|
[rice-cracker-dev](https://github.com/rice-cracker-dev):
|
||||||
|
|
||||||
|
- `eslint_d` now checks for configuration files to load.
|
||||||
|
|
|
@ -72,6 +72,16 @@
|
||||||
ls_sources,
|
ls_sources,
|
||||||
null_ls.builtins.diagnostics.eslint_d.with({
|
null_ls.builtins.diagnostics.eslint_d.with({
|
||||||
command = "${getExe pkg}",
|
command = "${getExe pkg}",
|
||||||
|
condition = function(utils)
|
||||||
|
return utils.root_has_file({
|
||||||
|
"eslint.config.js",
|
||||||
|
"eslint.config.mjs",
|
||||||
|
".eslintrc",
|
||||||
|
".eslintrc.json",
|
||||||
|
".eslintrc.js",
|
||||||
|
".eslintrc.yml",
|
||||||
|
})
|
||||||
|
end,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -72,6 +72,16 @@
|
||||||
ls_sources,
|
ls_sources,
|
||||||
null_ls.builtins.diagnostics.eslint_d.with({
|
null_ls.builtins.diagnostics.eslint_d.with({
|
||||||
command = "${getExe pkg}",
|
command = "${getExe pkg}",
|
||||||
|
condition = function(utils)
|
||||||
|
return utils.root_has_file({
|
||||||
|
"eslint.config.js",
|
||||||
|
"eslint.config.mjs",
|
||||||
|
".eslintrc",
|
||||||
|
".eslintrc.json",
|
||||||
|
".eslintrc.js",
|
||||||
|
".eslintrc.yml",
|
||||||
|
})
|
||||||
|
end,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -123,6 +123,16 @@
|
||||||
ls_sources,
|
ls_sources,
|
||||||
null_ls.builtins.diagnostics.eslint_d.with({
|
null_ls.builtins.diagnostics.eslint_d.with({
|
||||||
command = "${getExe pkg}",
|
command = "${getExe pkg}",
|
||||||
|
condition = function(utils)
|
||||||
|
return utils.root_has_file({
|
||||||
|
"eslint.config.js",
|
||||||
|
"eslint.config.mjs",
|
||||||
|
".eslintrc",
|
||||||
|
".eslintrc.json",
|
||||||
|
".eslintrc.js",
|
||||||
|
".eslintrc.yml",
|
||||||
|
})
|
||||||
|
end,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Reference in a new issue