Enabled json, yaml and toml autocomplete

This commit is contained in:
Dreaded_X 2023-04-11 00:01:00 +02:00
parent 543e17ecf3
commit 4edc2a87b0
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4
2 changed files with 14 additions and 0 deletions

View File

@ -86,6 +86,8 @@ require('lazy').setup({
-- Add document color
'mrshmllow/document-color.nvim',
'b0o/schemastore.nvim',
-- Rename with immediate visual feedback
{
'smjonas/inc-rename.nvim',
@ -453,6 +455,17 @@ local servers = {
telemetry = { enable = false },
},
},
jsonls = {
json = {
schemas = require('schemastore').json.schemas(),
},
},
yamlls = {
yaml = {
schemas = require('schemastore').yaml.schemas(),
},
},
taplo = {}
}
-- Setup neovim lua configuration

View File

@ -35,6 +35,7 @@
"nvim-ts-autotag": { "branch": "main", "commit": "25698e4033cd6cd3745454bfc837dd670eba0480" },
"peek.nvim": { "branch": "master", "commit": "67752e7581f88da6899838985a05705b008e4185" },
"plenary.nvim": { "branch": "master", "commit": "253d34830709d690f013daf2853a9d21ad7accab" },
"schemastore.nvim": { "branch": "main", "commit": "a592fbe98959d13014b022ec1b1418498309019c" },
"symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "580b6c48651cabb63455e97d7e131ed557b8c7e2" },
"telescope-ui-select.nvim": { "branch": "master", "commit": "62ea5e58c7bbe191297b983a9e7e89420f581369" },