From ea9a73f21aed79270d33916372d3272a402462cc Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 6 Dec 2021 13:52:51 +0100 Subject: [PATCH] Improve comments --- home/.config/nvim/lua/options.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/home/.config/nvim/lua/options.lua b/home/.config/nvim/lua/options.lua index 5b831c7..8a5dda6 100644 --- a/home/.config/nvim/lua/options.lua +++ b/home/.config/nvim/lua/options.lua @@ -1,12 +1,13 @@ local vim = require("vim") local cmd = vim.cmd local o = vim.opt +local g = vim.g cmd[[filetype plugin on]] --- Tab settings +-- Tab/Indent settings o.expandtab = true -- Expand tabs to spaces -o.tabstop = 4 -- Tab size +o.tabstop = 4 -- Tab size in spaces o.shiftwidth = 4 -- Indentation size o.softtabstop = 4 -- Tabs/Spaces interlop o.tabpagemax = 50 -- More tabs @@ -23,7 +24,7 @@ o.splitright = true -- Put new vertical splits to right -- In-file search (/) o.ignorecase = true -- Use case insensitive matching -o.incsearch = true -- Show partial matches for search phrase +o.incsearch = true -- Show partial matches while typing o.hlsearch = true -- Highlight search matches -- Show trailing whitespace