add folding to yaml files
This commit is contained in:
parent
951a052311
commit
aa8c3a5fd1
1 changed files with 7 additions and 0 deletions
7
init.lua
7
init.lua
|
|
@ -33,6 +33,13 @@ vim.api.nvim_create_autocmd({ "TermOpen" }, {
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
---- Folding ----
|
||||||
|
vim.api.nvim_create_autocmd({ "FileType" }, {
|
||||||
|
pattern = "yaml",
|
||||||
|
callback = function()
|
||||||
|
vim.opt_local.foldmethod = "indent"
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
---- Theming ----
|
---- Theming ----
|
||||||
opt.termguicolors = true
|
opt.termguicolors = true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue