feat(nvim): use ngihtly

This commit is contained in:
Barrett Ruth 2026-02-25 20:25:38 -05:00
parent a2e77495da
commit 5b018d6fdf
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
3 changed files with 9 additions and 1 deletions

View file

@ -5,6 +5,11 @@ return {
return ''
end
local wo = vim.wo
if not wo.number and not wo.relativenumber then
return ''
end
local lnum = vim.v.lnum
local relnum = vim.v.relnum
local hl = relnum == 0 and 'CursorLineNr' or 'LineNr'

View file

@ -88,7 +88,7 @@ return {
'ghostty',
},
per_filetype = {
pending = { inherit_defaults = true, 'omni' },
pending = { 'omni' },
},
providers = {
git = {