update nvim

This commit is contained in:
2023-02-03 16:08:09 +01:00
parent c5d8b5ef2b
commit 057b357f05
19 changed files with 218 additions and 16 deletions

6
lsp/config/eslint.lua Normal file
View File

@@ -0,0 +1,6 @@
return {
eslint = function(opts)
opts.root_dir = require("lspconfig.util").root_pattern("package.json", ".eslintrc.json", ".eslintrc.js")
return opts
end,
}