From d5cb1b2e5a8c852b61bc75e82868558b24943849 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Sat, 7 Dec 2024 22:04:57 +0100 Subject: [PATCH] NeoVIM: set indenting to 4 spaces --- Configs/nvim/lua/config/options.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Configs/nvim/lua/config/options.lua b/Configs/nvim/lua/config/options.lua index caedd58..1f65737 100644 --- a/Configs/nvim/lua/config/options.lua +++ b/Configs/nvim/lua/config/options.lua @@ -2,5 +2,13 @@ -- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua -- Add any additional options here +-- Indenting +vim.opt.autoindent = true +vim.opt.smartindent = true +vim.opt.expandtab = true +vim.opt.breakindent = true +vim.opt.shiftwidth = 4 +vim.opt.tabstop = 4 + -- Disable line wrapping vim.opt.wrap = false