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 ''
|
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'
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ return {
|
||||||
'ghostty',
|
'ghostty',
|
||||||
},
|
},
|
||||||
per_filetype = {
|
per_filetype = {
|
||||||
pending = { inherit_defaults = true, 'omni' },
|
pending = { 'omni' },
|
||||||
},
|
},
|
||||||
providers = {
|
providers = {
|
||||||
git = {
|
git = {
|
||||||
|
|
|
||||||
|
|
@ -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 = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue