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 = {
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||
zen-browser.url = "github:0xc000022070/zen-browser-flake";
|
||||
claude-code.url = "github:ryoppippi/claude-code-overlay";
|
||||
neovim-nightly.url = "github:nix-community/neovim-nightly-overlay";
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
@ -19,11 +20,13 @@
|
|||
nixos-hardware,
|
||||
zen-browser,
|
||||
claude-code,
|
||||
neovim-nightly,
|
||||
...
|
||||
}:
|
||||
let
|
||||
overlays = [
|
||||
claude-code.overlays.default
|
||||
neovim-nightly.overlays.default
|
||||
];
|
||||
|
||||
sharedUnfree = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue