feat(nvim): use ngihtly
This commit is contained in:
parent
a2e77495da
commit
5b018d6fdf
3 changed files with 9 additions and 1 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ return {
|
|||
'ghostty',
|
||||
},
|
||||
per_filetype = {
|
||||
pending = { inherit_defaults = true, 'omni' },
|
||||
pending = { 'omni' },
|
||||
},
|
||||
providers = {
|
||||
git = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue