mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Merge commit 'f4858d42a8' as 'config/nvim'
This commit is contained in:
commit
a6d1f45fd6
36 changed files with 906 additions and 0 deletions
16
config/nvim/lua/lsp/providers/jsonls.lua
Normal file
16
config/nvim/lua/lsp/providers/jsonls.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
return {
|
||||
settings = {
|
||||
schemaDownload = {
|
||||
enable = true,
|
||||
},
|
||||
schemas = {
|
||||
{ fileMatch = { "package.json" }, url = "https://json.schemastore.org/package.json" },
|
||||
{ url = "https://json.schemastore.org/tsconfig.json", fileMatch = { "tsconfig.json", "tsconfig.*.json" } },
|
||||
{ url = "https://json.schemastore.org/lerna.json", fileMatch = { "lerna.json" } },
|
||||
{ url = "https://json.schemastore.org/eslintrc.json", fileMatch = { ".eslintrc.json", ".eslintrc" } },
|
||||
{ url = "https://json.schemastore.org/prettierrc", fileMatch = { ".prettierrc", ".prettierrc.json", "prettier.config.json" } },
|
||||
{ fileMatch = { ".golangci.toml", ".golangci.json" }, url = "https://json.schemastore.org/golangci-lint.json" },
|
||||
{ fileMatch = { "package.json" }, url = "https://json.schemastore.org/package.json" },
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue