refactor: drop nvim 0.8/0.9 compat shims from init.lua #79

Merged
barrettruth merged 1 commit from refactor/drop-nvim-09-checks into main 2026-03-06 21:36:37 +00:00
barrettruth commented 2026-03-06 21:35:30 +00:00

Problem

init.lua contained several guards for Neovim < 0.9 — a float preview
title check, a FloatTitle highlight fallback, and a version-gated
elseif in the preview window path. These are dead code since the
minimum supported version is 0.9.

Solution

Remove the three nvim-0.9 / nvim-0.8 conditional blocks and the
associated deprecated nvim_get_hl_by_name calls. Also adds .worktrees/
to .gitignore.

## Problem `init.lua` contained several guards for Neovim < 0.9 — a float preview title check, a `FloatTitle` highlight fallback, and a version-gated `elseif` in the preview window path. These are dead code since the minimum supported version is 0.9. ## Solution Remove the three `nvim-0.9` / `nvim-0.8` conditional blocks and the associated deprecated `nvim_get_hl_by_name` calls. Also adds `.worktrees/` to `.gitignore`.
Sign in to join this conversation.
No description provided.