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 '' return ''
end end
local wo = vim.wo
if not wo.number and not wo.relativenumber then
return ''
end
local lnum = vim.v.lnum local lnum = vim.v.lnum
local relnum = vim.v.relnum local relnum = vim.v.relnum
local hl = relnum == 0 and 'CursorLineNr' or 'LineNr' local hl = relnum == 0 and 'CursorLineNr' or 'LineNr'

View file

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

View file

@ -10,6 +10,7 @@
nixos-hardware.url = "github:NixOS/nixos-hardware"; nixos-hardware.url = "github:NixOS/nixos-hardware";
zen-browser.url = "github:0xc000022070/zen-browser-flake"; zen-browser.url = "github:0xc000022070/zen-browser-flake";
claude-code.url = "github:ryoppippi/claude-code-overlay"; claude-code.url = "github:ryoppippi/claude-code-overlay";
neovim-nightly.url = "github:nix-community/neovim-nightly-overlay";
}; };
outputs = outputs =
@ -19,11 +20,13 @@
nixos-hardware, nixos-hardware,
zen-browser, zen-browser,
claude-code, claude-code,
neovim-nightly,
... ...
}: }:
let let
overlays = [ overlays = [
claude-code.overlays.default claude-code.overlays.default
neovim-nightly.overlays.default
]; ];
sharedUnfree = [ sharedUnfree = [