mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-23 01:08:53 +02:00
add: update config v2.1.0
This commit is contained in:
parent
63de9b2074
commit
90a34ec6e9
41 changed files with 2492 additions and 1287 deletions
|
@ -1,20 +1,20 @@
|
|||
return {
|
||||
cmd = { "vscode-eslint-language-server", "--stdio" }, -- add file type support
|
||||
filetypes = {
|
||||
"javascript",
|
||||
"javascriptreact",
|
||||
"javascript.jsx",
|
||||
"typescript",
|
||||
"typescriptreact",
|
||||
"typescript.tsx",
|
||||
},
|
||||
-- add dynamic root dir support
|
||||
root_dir = require("lspconfig.util").root_pattern(
|
||||
"package.json",
|
||||
"tsconfig.json",
|
||||
"jsconfig.json",
|
||||
".eslintrc.json",
|
||||
".eslintrc.js",
|
||||
".eslintrc.cjs"
|
||||
),
|
||||
-- cmd = { "vscode-eslint-language-server", "--stdio" }, -- add file type support
|
||||
-- filetypes = {
|
||||
-- "javascript",
|
||||
-- "javascriptreact",
|
||||
-- "javascript.jsx",
|
||||
-- "typescript",
|
||||
-- "typescriptreact",
|
||||
-- "typescript.tsx",
|
||||
-- },
|
||||
-- -- add dynamic root dir support
|
||||
-- root_dir = require("lspconfig.util").root_pattern(
|
||||
-- "package.json",
|
||||
-- "tsconfig.json",
|
||||
-- "jsconfig.json",
|
||||
-- ".eslintrc.json",
|
||||
-- ".eslintrc.js",
|
||||
-- ".eslintrc.cjs"
|
||||
-- ),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue