From e6951cdc0fa95ad98b54e571dcda9a5b98a58bf2 Mon Sep 17 00:00:00 2001 From: Ihar Katkavets Date: Sun, 26 May 2024 22:30:51 +0200 Subject: [PATCH] master Enable a useful option for default configuration --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 88658ef3..a41a973c 100644 --- a/init.lua +++ b/init.lua @@ -154,6 +154,9 @@ vim.opt.cursorline = true -- Minimal number of screen lines to keep above and below the cursor. vim.opt.scrolloff = 10 +-- Do automatic indent when starting a new line +vim.opt.smartindent = true + -- [[ Basic Keymaps ]] -- See `:help vim.keymap.set()`