add support for ansible yaml syntax
This commit is contained in:
parent
8387619a3a
commit
baa1a6e053
2 changed files with 12 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue