add: update patch plugins

This commit is contained in:
asep.komarudin 2024-03-27 07:50:16 +07:00
parent 2727f2850c
commit a3bf20286d
7 changed files with 49 additions and 27 deletions

View file

@ -1,13 +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", ".git"),
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"
),
}

View file

@ -0,0 +1,8 @@
return {
-- cmd = { "sql-language-server", "up", "--method", "stdio" },
-- filetypes = { "sql", "mysql" },
-- -- add root dir support
-- root_dir = require("lspconfig.util").root_pattern("package.json", "tsconfig.json", "jsconfig.json", ".git")
-- or vim.loop.cwd()
-- or vim.fn.getcwd(),
}

View file

@ -14,7 +14,7 @@ nvim_tree.setup({
dotfiles = false,
git_clean = false,
no_buffer = false,
custom = { "node_modules", "\\.cache" },
custom = { "node_modules", "\\.cache", "\\.git" },
exclude = {},
},
filesystem_watchers = {

View file

@ -161,6 +161,12 @@ web_devicons.setup({
cterm_color = "240",
name = "viteconfigts",
},
[".releaserc"] = {
icon = "󰚧",
color = "#9C9C9C",
cterm_color = "240",
name = "releaserc",
},
[".profile"] = {
icon = "󰙄",
color = "#9C9C9C",