Files
dotfiles/nvim/after/lsp/yamlls.lua
FaultyBranches 86475a8e8e feat: Removing nvim-lspconfig and starting the removal of Mason, adding
in LSP definitions for servers that are used, adding in a script to
check for LSPs, removing some extraneous items in the tmux conf, moving
autopairs to its own file
2026-08-16 20:19:05 -05:00

34 lines
918 B
Lua

-- YAML LSP specific settings with a number of custom tags specifically for use with AWS CloudFormation templates
return {
settings = {
redhat = { telemetry = { enabled = false } },
yaml = {
customTags = {
"!fn",
"!And",
"!If",
"!Not",
"!Equals",
"!Or",
"!FindInMap sequence",
"!Base64",
"!Cidr",
"!Ref",
"!Ref Scalar",
"!Sub",
"!GetAtt",
"!GetAZs",
"!ImportValue",
"!Select",
"!Split",
"!Join sequence"
},
format = { enable = true, singleQuote = true },
hover = true,
schemaStore = { enable = true },
validate = true,
}
}
}