small changes

This commit is contained in:
2026-03-09 15:52:00 +00:00
parent 90b907eb3d
commit d92c98796a
3 changed files with 371 additions and 358 deletions
+10
View File
@@ -32,6 +32,16 @@ return {
end,
})
-- Nix files use spaces (2) to match alejandra formatter
vim.api.nvim_create_autocmd("FileType", {
pattern = "nix",
callback = function()
vim.bo.expandtab = true
vim.bo.shiftwidth = 2
vim.bo.tabstop = 2
end,
})
vim.api.nvim_create_user_command("Format", function(args)
local range = nil
if args.count ~= -1 then