updated nvim/

This commit is contained in:
serenity-F 2024-11-16 23:09:45 +10:00
parent 2f1a156403
commit 266a467fc1
No known key found for this signature in database

View file

@ -1,9 +1,11 @@
{ config, ... }: { inputs, outputs, lib, config, pkgs, ... }:
let let
accent = "#${config.lib.stylix.colors.base0D}";
muted = "#${config.lib.stylix.colors.base03}"; accent = "#${config.theme.colors.color14}";
foreground = "#${config.lib.stylix.colors.base05}"; muted = "#${config.theme.colors.secondary-bg}";
configDir = config.var.configDirectory; foreground = "#${config.theme.colors.primary-fg}";
in { in {
programs.nixvim.highlight = { programs.nixvim.highlight = {
@ -76,7 +78,7 @@ in {
{ {
type = "button"; type = "button";
val = " NixOs Config"; val = " NixOs Config";
on_press.__raw = "function() vim.cmd[[Neotree ${configDir}]] end"; on_press.__raw = "function() vim.cmd[[Neotree /home/serenity/flakes/nixdots/home/common/dotconfig/nvim]] end";
opts = { opts = {
shortcut = "nc"; shortcut = "nc";
position = "center"; position = "center";
@ -91,7 +93,7 @@ in {
type = "button"; type = "button";
val = " Keybindings"; val = " Keybindings";
on_press.__raw = on_press.__raw =
"function() vim.cmd[[e ${configDir}/docs/KEYBINDINGS.md]] end"; "function() vim.cmd[[e /home/serenity/flakes/nixdots/home/common/dotconfig/nvim/docs/KEYBINDINGS.md]] end";
opts = { opts = {
shortcut = "nc"; shortcut = "nc";
position = "center"; position = "center";