summaryrefslogtreecommitdiffstats
path: root/.config/nvim/init.lua
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-06-07 14:16:12 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-06-07 14:16:12 +0200
commit941748d9624e7c974d48caebce48755cc9a84e6e (patch)
tree33bb9b183dd6804573ce227b85737748debbc6fb /.config/nvim/init.lua
parent6194e53bfe88c94b7eb50b53638abbdeed3991bf (diff)
downloaddotfiles-941748d9624e7c974d48caebce48755cc9a84e6e.tar.gz
dotfiles-941748d9624e7c974d48caebce48755cc9a84e6e.zip
misc(nvim): comment and reorder
Diffstat (limited to '.config/nvim/init.lua')
-rw-r--r--.config/nvim/init.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index 94d2bbf..fcfcf4c 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -197,16 +197,16 @@ vim.opt.confirm = true -- Confirm before losing buffer unsaved changes
vim.opt.splitbelow = false
vim.opt.splitright = false
vim.opt.clipboard = "unnamedplus" -- Sync clipboard
-vim.opt.cursorline = true -- Highlight the line where the cursor is on.
-vim.opt.scrolloff = 2 -- Keep this many screen lines above/below the cursor
+vim.opt.cursorline = true -- Highlight the line where the cursor is on
+vim.opt.scrolloff = 2 -- Keep this many visible screen lines above/below the cursor
vim.opt.ignorecase = true -- Search ignores case by default
vim.opt.smartcase = true -- Search is case-sensitive if searching for uppercase characters
vim.opt.conceallevel = 2 -- Hide text with the "conceal" syntax attribute
vim.opt.showtabline = 2 -- Always show tabline
-vim.opt.list = true -- Display <Tab> and other non-printables
+vim.opt.winbar = "%#WinBarCwd#%{fnamemodify(getcwd(),':~')}%* | %#WinBarFile#%f%*"
vim.opt.winborder = "rounded" -- Rounded outline for floating windows
vim.opt.updatetime = 1000 -- Swap file save frequency; also how often GitGutter signs update in ms
-vim.opt.winbar = "%#WinBarCwd#%{fnamemodify(getcwd(),':~')}%* | %#WinBarFile#%f%*"
+vim.opt.list = true -- Display <Tab> and other non-printables
vim.opt.listchars = { -- Characters used by 'list'
tab = "> ", -- Tab
trail = "-", -- Trailing space