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 | 53563e59b9d20922c0f37c99cf20e2be8f703a74 (patch) | |
| tree | 4b8a5d0bbdddae9a15e522695fb35b755b8a653a /.config/nvim/init.lua | |
| parent | f1a519f6c5d78238b42be77701c9ff98d9f5b805 (diff) | |
| download | dotfiles-53563e59b9d20922c0f37c99cf20e2be8f703a74.tar.gz dotfiles-53563e59b9d20922c0f37c99cf20e2be8f703a74.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 '.config/nvim/init.lua')
| -rw-r--r-- | .config/nvim/init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 49057b9..e78cb27 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -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 |
