Change yaml tab configs
This commit is contained in:
parent
b08ec3365a
commit
b329239107
1 changed files with 1 additions and 6 deletions
|
@ -48,12 +48,7 @@ vim.api.nvim_create_autocmd("BufEnter", {
|
|||
group = group
|
||||
})
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "yaml",
|
||||
command = "setlocal shiftwidth=4 tabstop=4 softtabstop=4",
|
||||
group = group
|
||||
})
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = { "lua", "vhdl" },
|
||||
pattern = { "lua", "vhdl", "yaml" },
|
||||
command = "setlocal shiftwidth=2 tabstop=2 softtabstop=2",
|
||||
group = group
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue