nvim: default indentation

This commit is contained in:
He4eT 2026-06-26 04:12:29 +02:00
commit c3bfa5f11a

View file

@ -38,6 +38,12 @@ npx @johnnymorganz/stylua-bin ./init.lua
-- Enable faster startup by caching compiled Lua modules -- Enable faster startup by caching compiled Lua modules
vim.loader.enable() vim.loader.enable()
-- Indentation
vim.o.expandtab = true
vim.o.tabstop = 2
vim.o.shiftwidth = 2
vim.o.softtabstop = 2
-- Raise a dialog asking if you wish to save the current file(s) -- Raise a dialog asking if you wish to save the current file(s)
vim.o.confirm = true vim.o.confirm = true