diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-19 12:00:21 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-19 15:06:47 +0200 |
| commit | 2f035b58d45ca5d34522a3945073739e66f5c297 (patch) | |
| tree | a9ddd26bcc024de707dd9cb77410abe20c1e145a /init.lua | |
| parent | 0fe3b9ea814e195358b6a92b1881d513be9eb4e6 (diff) | |
| download | nvim-config-2f035b58d45ca5d34522a3945073739e66f5c297.tar.gz nvim-config-2f035b58d45ca5d34522a3945073739e66f5c297.zip | |
feat(nvim): focus-aware cursor line via per-window highlight namespaces
Split 50-highlight.lua into 40-colors.lua (colorscheme, custom
highlights, per-window namespaces, focus tracking) and 50-extmarks.lua
(TODO scanner reading the namespace contract from vim.g.dotfiles). The
40- prefix guarantees colors load before extmarks.
Focused vs unfocused windows now differ by cursor-line color and a
CursorLineNr badge in the focus hue (green on dark, magenta on light);
the number column stays visible on closed folds where CursorLine cannot.
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -151,6 +151,7 @@ vim.opt.scrolloff = 2 -- Keep this many 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.listchars = { -- Characters used by 'list' tab = "> ", -- Tab |
