Added indentation rules for YAML and TOML files.

This commit is contained in:
Andrey Parhomenko 2023-09-09 05:28:50 +03:00
parent 4a62e0f40f
commit 9e4683275d

View file

@ -11,7 +11,7 @@ createAutoCmd({
"BufNewFile", "BufNewFile",
"BufRead", "BufRead",
},{ },{
pattern = "*.lua,*.js,*.jsx,*.scss,*.css,*.html,*.tmpl,*.tpl", pattern = "*.lua,*.js,*.jsx,*.scss,*.css,*.html,*.tmpl,*.tpl,*.yml,*.yaml,*.toml,*.tml",
callback = function() callback = function()
local buf = vim.bo[vim.api.nvim_get_current_buf()] local buf = vim.bo[vim.api.nvim_get_current_buf()]
buf.expandtab = true buf.expandtab = true