From 3dfb695eafc6580d61b7764e2d3fc6331cc971e8 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 6 Dec 2021 13:56:48 +0100 Subject: [PATCH] Split some settings to files section --- home/.config/nvim/lua/options.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/home/.config/nvim/lua/options.lua b/home/.config/nvim/lua/options.lua index 4b0c9ec..7d0bce2 100644 --- a/home/.config/nvim/lua/options.lua +++ b/home/.config/nvim/lua/options.lua @@ -37,10 +37,12 @@ o.wildmode = {"longest", "list", "full"} -- Enable autocompletion o.wildmenu = true -- Display all matching files when we tab complete table.insert(o.path, "**") -- Search down into subfolders with tab completion --- Misc -o.mouse = "a" -- Enable mouse mode +-- Files o.encoding = "utf-8" -- Use UTF-8 encoding o.autoread = true -- Automatically reload files on change + +-- Misc +o.mouse = "a" -- Enable mouse mode o.undolevels = 999 -- Lots of these o.history = 1000 -- More history o.showmode = false -- Don't display mode (it's on status line anyway)