mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-12-07 09:35:37 -08:00
my config yay
This commit is contained in:
30
lua/custom/plugins/schemastore.lua
Normal file
30
lua/custom/plugins/schemastore.lua
Normal file
@@ -0,0 +1,30 @@
|
||||
return {
|
||||
{
|
||||
'b0o/schemastore.nvim',
|
||||
depenencies = {
|
||||
{ 'neovim/nvim-lspconfig' },
|
||||
},
|
||||
config = function()
|
||||
require('lspconfig').jsonls.setup {
|
||||
settigns = {
|
||||
json = {
|
||||
schemas = require('schemastore').json.schemas(),
|
||||
validate = {
|
||||
enable = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
require('lspconfig').yamlls.setup {
|
||||
settigns = {
|
||||
yaml = {
|
||||
schemas = require('schemastore').yaml.schemas(),
|
||||
},
|
||||
schemaStore = {
|
||||
enable = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user