From 9e4683275d7dcc5699236361cf7be3c47e7b16da Mon Sep 17 00:00:00 2001 From: surdeus Date: Sat, 9 Sep 2023 05:28:50 +0300 Subject: [PATCH] Added indentation rules for YAML and TOML files. --- nvim/lua/indent.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/lua/indent.lua b/nvim/lua/indent.lua index c85986a..21b9998 100644 --- a/nvim/lua/indent.lua +++ b/nvim/lua/indent.lua @@ -11,7 +11,7 @@ createAutoCmd({ "BufNewFile", "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() local buf = vim.bo[vim.api.nvim_get_current_buf()] buf.expandtab = true