try to use ansiblels for ansible only
This commit is contained in:
parent
0d7a6429ed
commit
8072531a1e
3 changed files with 13 additions and 6 deletions
|
|
@ -69,3 +69,15 @@ vim.opt.splitright = true
|
|||
|
||||
-- Mode is shown in lualine, so we don't need it one line below
|
||||
vim.opt.showmode = false
|
||||
|
||||
-- Hobo way to to force ansiblels being used for Ansible files
|
||||
vim.filetype.add({
|
||||
pattern = {
|
||||
[".*/.*playbook.*.ya?ml"] = "yaml.ansible",
|
||||
[".*/.*tasks.*/.*ya?ml"] = "yaml.ansible",
|
||||
[".*/.*group_vars.*/.*ya?ml"] = "yaml.ansible",
|
||||
[".*/.*host_vars.*/.*ya?ml"] = "yaml.ansible",
|
||||
[".*/local.ya?ml"] = "yaml.ansible",
|
||||
[".*-ansible/.*ya?ml"] = "yaml.ansible",
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue