macboolk doesn't like lua :c

This commit is contained in:
Iwaniuk Krzysztof 2024-05-25 00:05:51 +02:00
parent f2ba1e8549
commit 5b483a9db7
34 changed files with 279 additions and 776 deletions

View file

@ -0,0 +1,32 @@
return {
{
'b0o/schemastore.nvim',
dependencies = {
{ 'neovim/nvim-lspconfig' },
},
config = function()
local schemastore = require 'schemastore'
local lspconfig = require 'lspconfig'
lspconfig.jsonls.setup {
settigns = {
json = {
schemas = schemastore.json.schemas(),
validate = {
enable = true,
},
},
},
}
lspconfig.yamlls.setup {
settigns = {
yaml = {
schemas = schemastore.yaml.schemas(),
},
schemaStore = {
enable = true,
},
},
}
end,
},
}