1
0
Fork 0

add folding to yaml files

This commit is contained in:
Felipe 2023-04-19 22:52:21 -04:00
parent 951a052311
commit aa8c3a5fd1
Signed by: pitbuster
SSH key fingerprint: SHA256:HDYu2Pm4/TmSX8GBwV49UvFWr1Ljg8XlHxKeCpjJpOk

View file

@ -33,6 +33,13 @@ vim.api.nvim_create_autocmd({ "TermOpen" }, {
end
end,
})
---- Folding ----
vim.api.nvim_create_autocmd({ "FileType" }, {
pattern = "yaml",
callback = function()
vim.opt_local.foldmethod = "indent"
end,
})
---- Theming ----
opt.termguicolors = true