set softabstop for yaml
This commit is contained in:
parent
4a2e81085c
commit
3c6a37971a
1 changed files with 1 additions and 0 deletions
1
init.lua
1
init.lua
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue