updated nvim.nix
This commit is contained in:
parent
27fd618d51
commit
0beaa230c0
2 changed files with 24 additions and 19 deletions
|
|
@ -12,11 +12,13 @@ in {
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
nixvim = {
|
nixvim = {
|
||||||
|
|
||||||
highlight = {
|
highlight = {
|
||||||
AlphaHeaderColor.fg = accent;
|
AlphaHeaderColor.fg = accent;
|
||||||
AlphaTextColor.fg = foreground;
|
AlphaTextColor.fg = foreground;
|
||||||
AlphaShortcutColor.fg = muted;
|
AlphaShortcutColor.fg = muted;
|
||||||
};
|
};
|
||||||
|
|
||||||
colorschemes = {
|
colorschemes = {
|
||||||
modus = {
|
modus = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -27,27 +29,29 @@ in {
|
||||||
comments = {
|
comments = {
|
||||||
italic = true;
|
italic = true;
|
||||||
#bg = "";
|
#bg = "";
|
||||||
fg = "#cdcdcd";
|
fg = "#cccccc";
|
||||||
};
|
};
|
||||||
variables = {
|
variables = {
|
||||||
#bg = "";
|
#bg = "";
|
||||||
fg = "#00cdff";
|
fg = "#00c0ff";
|
||||||
};
|
};
|
||||||
functions = {
|
functions = {
|
||||||
#bg = "";
|
#bg = "";
|
||||||
fg = "#ddeeff";
|
fg = "#d0fffe";
|
||||||
};
|
};
|
||||||
keywords = {
|
keywords = {
|
||||||
bold = true;
|
bold = true;
|
||||||
#bg = "";
|
#bg = "";
|
||||||
fg = "#00cdff";
|
fg = "#00dfff";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
#transparent.enable = true;
|
#transparent.enable = true;
|
||||||
|
|
||||||
lualine = {
|
lualine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
@ -77,11 +81,12 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
web-devicons.enable = true;
|
web-devicons.enable = true;
|
||||||
noice.enable = true;
|
noice.enable = true;
|
||||||
notify = {
|
notify = {
|
||||||
enable = true;
|
enable = true;
|
||||||
level = "warn";
|
settings = { level = "warn"; };
|
||||||
};
|
};
|
||||||
gitsigns = {
|
gitsigns = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,15 @@
|
||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
highlightOverride = { FloatBorder.fg = "#${config.theme.colors.color15}"; };
|
highlightOverride = { FloatBorder.fg = "#${config.theme.colors.color15}"; };
|
||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
|
|
||||||
|
comment.enable = true;
|
||||||
|
todo-comments.enable = true;
|
||||||
|
tmux-navigator.enable = true;
|
||||||
|
nvim-autopairs.enable = true;
|
||||||
|
friendly-snippets.enable = true;
|
||||||
|
|
||||||
flash.enable = true;
|
flash.enable = true;
|
||||||
image = {
|
image = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -12,12 +19,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
tmux-navigator.enable = true;
|
|
||||||
comment.enable = true;
|
|
||||||
nvim-autopairs.enable = true;
|
|
||||||
friendly-snippets.enable = true;
|
|
||||||
todo-comments.enable = true;
|
|
||||||
|
|
||||||
treesitter = {
|
treesitter = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nixGrammars = true;
|
nixGrammars = true;
|
||||||
|
|
@ -62,14 +63,13 @@
|
||||||
texthl = "DapLogPoint";
|
texthl = "DapLogPoint";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
extensions = {
|
|
||||||
dap-go = {
|
|
||||||
enable = true;
|
|
||||||
delve.path = "${pkgs.delve}/bin/dlv";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
dap-ui = { enable = true; };
|
dap-ui = { enable = true; };
|
||||||
dap-virtual-text = { enable = true; };
|
dap-virtual-text = { enable = true; };
|
||||||
};
|
dap-go = {
|
||||||
|
enable = true;
|
||||||
|
settings = { delve.path = "${pkgs.delve}/bin/dlv"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue