extra: nvim: Apply 2-spaces indent rule for YAML files too
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
4f6b09a153
commit
93f3c05973
|
@ -1,5 +1,5 @@
|
|||
vim.api.nvim_create_autocmd({ 'FileType' }, {
|
||||
pattern = { 'lua', 'html', 'nix' },
|
||||
pattern = { 'lua', 'html', 'nix', 'yml' },
|
||||
callback = function()
|
||||
vim.opt_local.tabstop = 2
|
||||
vim.opt_local.shiftwidth = 2
|
||||
|
|
Loading…
Reference in a new issue