From 68ee2d765e99c37316187f4091b8c5f84c5dd7c0 Mon Sep 17 00:00:00 2001 From: Michiel Schuurmans Date: Sat, 7 Nov 2026 21:10:38 +0100 Subject: Lazy version upgrades --- lua/config/remap.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lua/config') diff --git a/lua/config/remap.lua b/lua/config/remap.lua index d860c37..1cbc0f5 100644 --- a/lua/config/remap.lua +++ b/lua/config/remap.lua @@ -12,3 +12,13 @@ vim.opt.shiftwidth = 8 vim.opt.number = true vim.opt.relativenumber = true vim.opt.signcolumn = "number" + +vim.api.nvim_create_autocmd("FileType", { + pattern = { "yaml", "yml" }, + callback = function() + vim.opt_local.expandtab = true + vim.opt_local.tabstop = 2 + vim.opt_local.shiftwidth = 2 + vim.opt_local.softtabstop = 2 + end, +}) -- cgit v1.3