vim: change filetype option
This commit is contained in:
parent
5349adc986
commit
f1949a06ca
@ -7,6 +7,13 @@ require('plugins.lsp.mason')
|
||||
---------------------
|
||||
--Global Varialbles--
|
||||
---------------------
|
||||
--
|
||||
vim.filetype.add({
|
||||
pattern = {
|
||||
[".*/tasks/.*.ya?ml"] = "yaml.ansible",
|
||||
[".*/ansible/.*.ya?ml"] = "yaml.ansible"
|
||||
},
|
||||
})
|
||||
|
||||
vim.g.airline_powerline_font = true
|
||||
vim.g.easyescape_chars = {
|
||||
|
@ -31,3 +31,6 @@ configs.setup({
|
||||
enable = true,
|
||||
},
|
||||
})
|
||||
|
||||
local ft_to_parser = require"nvim-treesitter.parsers".filetype_to_parsername
|
||||
ft_to_parser.nomad = "hcl"
|
||||
|
Loading…
Reference in New Issue
Block a user