1
0
Fork 0

set softabstop for yaml

This commit is contained in:
Felipe 2023-08-04 00:01:24 -04:00
parent 4a2e81085c
commit 3c6a37971a
Signed by: pitbuster
SSH key fingerprint: SHA256:HDYu2Pm4/TmSX8GBwV49UvFWr1Ljg8XlHxKeCpjJpOk

View file

@ -174,6 +174,7 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
vim.api.nvim_create_autocmd({ "FileType" }, { vim.api.nvim_create_autocmd({ "FileType" }, {
pattern = "yaml", pattern = "yaml",
callback = function() callback = function()
vim.opt_local.softtabstop = 2
vim.opt_local.expandtab = true vim.opt_local.expandtab = true
vim.opt_local.foldmethod = "indent" vim.opt_local.foldmethod = "indent"
end, end,