add support for ansible yaml syntax

This commit is contained in:
Alexander Navarro 2024-12-11 09:03:31 -03:00
parent 8387619a3a
commit baa1a6e053
2 changed files with 12 additions and 2 deletions

View file

@ -83,6 +83,7 @@ return {
}, },
question_header = "" .. vim.env.USER or "User" .. " ", question_header = "" .. vim.env.USER or "User" .. " ",
answer_header = " Copilot ", answer_header = " Copilot ",
auto_follow_cursor = false,
window = { window = {
layout = 'float', -- 'vertical', 'horizontal', 'float', 'replace' layout = 'float', -- 'vertical', 'horizontal', 'float', 'replace'
width = 0.8, -- fractional width of parent, or absolute width in columns when > 1 width = 0.8, -- fractional width of parent, or absolute width in columns when > 1

View file

@ -69,7 +69,7 @@ return {
end end
-- Enable the following language servers -- Enable the following language servers
-- To see options and cofigurations: https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md -- To see options and cofigurations `:help lspconfig-all`
local servers = { local servers = {
astro = {}, astro = {},
bashls = {}, bashls = {},
@ -132,7 +132,16 @@ return {
}, },
}, },
sqlls = {}, sqlls = {},
yamlls = {}, yamlls = {
settings = {
yaml = {
schemas = {},
customTags = {
"!vault" -- ansible encrypted vars support
}
}
},
},
lua_ls = { lua_ls = {
settings = { settings = {
Lua = { Lua = {