From 2781082f1085757a0cfb929ba37de968726ec751 Mon Sep 17 00:00:00 2001 From: "eric.marin" Date: Tue, 2 Dec 2025 08:54:27 +0100 Subject: xd --- nvim/lua/config/options.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'nvim/lua/config/options.lua') diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua index deeeb2e..e465418 100644 --- a/nvim/lua/config/options.lua +++ b/nvim/lua/config/options.lua @@ -2,14 +2,24 @@ local opt = vim.opt -- Indent opt.tabstop = 2 +opt.softtabstop = 2 opt.shiftwidth = 2 opt.expandtab = false opt.smartindent = true opt.wrap = false +vim.api.nvim_create_autocmd("FileType", { + pattern = "bend", + callback = function() + vim.opt_local.expandtab = true + vim.opt_local.tabstop = 4 + vim.opt_local.shiftwidth = 4 + end, +}) + -- Appearance opt.number = true -opt.relativenumber = true +opt.relativenumber = false opt.cursorline = true opt.termguicolors = true opt.showmode = true -- cgit v1.2.3