mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-15 03:44:28 +02:00
add: update patch plugins
This commit is contained in:
parent
2727f2850c
commit
a3bf20286d
7 changed files with 49 additions and 27 deletions
|
@ -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"
|
||||
),
|
||||
}
|
||||
|
|
8
lua/user/lsp/settings/sqlls.lua
Normal file
8
lua/user/lsp/settings/sqlls.lua
Normal 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(),
|
||||
}
|
|
@ -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 = {
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue