feat(lsp): remove jsonls settings
This commit is contained in:
parent
14bf17764e
commit
33ee1969d1
2 changed files with 0 additions and 51 deletions
|
@ -55,8 +55,6 @@ lsp_installer.on_server_ready(function(server)
|
||||||
-- set up default cosmic options
|
-- set up default cosmic options
|
||||||
if server.name == 'tsserver' then
|
if server.name == 'tsserver' then
|
||||||
opts = vim.tbl_deep_extend('force', opts, require('cosmic.lsp.providers.tsserver'))
|
opts = vim.tbl_deep_extend('force', opts, require('cosmic.lsp.providers.tsserver'))
|
||||||
elseif server.name == 'jsonls' then
|
|
||||||
opts = vim.tbl_deep_extend('force', opts, require('cosmic.lsp.providers.jsonls'))
|
|
||||||
elseif server.name == 'sumneko_lua' then
|
elseif server.name == 'sumneko_lua' then
|
||||||
opts = vim.tbl_deep_extend('force', opts, require('cosmic.lsp.providers.lua'))
|
opts = vim.tbl_deep_extend('force', opts, require('cosmic.lsp.providers.lua'))
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,49 +0,0 @@
|
||||||
return {
|
|
||||||
settings = {
|
|
||||||
json = {
|
|
||||||
-- Schemas https://www.schemastore.org
|
|
||||||
schemas = {
|
|
||||||
{
|
|
||||||
fileMatch = { 'package.json' },
|
|
||||||
url = 'https://json.schemastore.org/package.json',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
fileMatch = { 'tsconfig*.json' },
|
|
||||||
url = 'https://json.schemastore.org/tsconfig.json',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
fileMatch = {
|
|
||||||
'.prettierrc',
|
|
||||||
'.prettierrc.json',
|
|
||||||
'prettier.config.json',
|
|
||||||
},
|
|
||||||
url = 'https://json.schemastore.org/prettierrc.json',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
fileMatch = { '.eslintrc', '.eslintrc.json' },
|
|
||||||
url = 'https://json.schemastore.org/eslintrc.json',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
fileMatch = { '.babelrc', '.babelrc.json', 'babel.config.json' },
|
|
||||||
url = 'https://json.schemastore.org/babelrc.json',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
fileMatch = { 'lerna.json' },
|
|
||||||
url = 'https://json.schemastore.org/lerna.json',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
fileMatch = { 'now.json', 'vercel.json' },
|
|
||||||
url = 'https://json.schemastore.org/now.json',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
fileMatch = {
|
|
||||||
'.stylelintrc',
|
|
||||||
'.stylelintrc.json',
|
|
||||||
'stylelint.config.json',
|
|
||||||
},
|
|
||||||
url = 'http://json.schemastore.org/stylelintrc.json',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue