mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-09-20 03:09:09 +00:00
[neovim] Replace yaml-companion with schemastore.nvim
This commit is contained in:
@@ -178,27 +178,9 @@ require("lazy").setup({
|
||||
|
||||
-- YAML
|
||||
{
|
||||
"someone-stole-my-name/yaml-companion.nvim",
|
||||
ft = { "yaml" },
|
||||
opts = {
|
||||
lspconfig = {
|
||||
settings = {
|
||||
redhat = {
|
||||
telemetry = {
|
||||
enabled = false,
|
||||
},
|
||||
},
|
||||
-- yaml = {
|
||||
-- schemas = {
|
||||
-- ["https://custom/github-workflow.json"] = "/.github/workflows/*",
|
||||
-- },
|
||||
-- },
|
||||
},
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
local cfg = require("yaml-companion").setup(opts)
|
||||
require("lspconfig")["yamlls"].setup(cfg)
|
||||
"cenk1cenk2/schema-companion.nvim",
|
||||
config = function()
|
||||
require("schema-companion").setup({})
|
||||
end,
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user