From afa4c250c5dcc436e50852eb5f8952a9e840261f Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 6 Dec 2021 13:54:55 +0100 Subject: [PATCH] Move autoindent to indent settings --- home/.config/nvim/lua/options.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.config/nvim/lua/options.lua b/home/.config/nvim/lua/options.lua index d8e510c..4b0c9ec 100644 --- a/home/.config/nvim/lua/options.lua +++ b/home/.config/nvim/lua/options.lua @@ -6,6 +6,7 @@ local g = vim.g cmd[[filetype plugin on]] -- Tab/Indent settings +o.autoindent = true -- Enable autoindent o.expandtab = true -- Expand tabs to spaces o.tabstop = 4 -- Tab size in spaces o.shiftwidth = 4 -- Indentation size @@ -39,7 +40,6 @@ table.insert(o.path, "**") -- Search down into subfolders with -- Misc o.mouse = "a" -- Enable mouse mode o.encoding = "utf-8" -- Use UTF-8 encoding -o.autoindent = true -- Enable autoindent o.autoread = true -- Automatically reload files on change o.undolevels = 999 -- Lots of these o.history = 1000 -- More history