This commit is contained in:
Hadi
2024-10-08 20:02:45 +02:00
parent a781a227ac
commit 3f0a694b5f
8 changed files with 74 additions and 36 deletions

View File

@@ -0,0 +1,28 @@
{ pkgs, ... }: {
programs.nixvim.plugins.dap = {
enable = true;
adapters = { };
signs = {
dapBreakpoint = {
text = "";
texthl = "DapBreakpoint";
};
dapBreakpointCondition = {
text = "";
texthl = "DapBreakpointCondition";
};
dapLogPoint = {
text = "";
texthl = "DapLogPoint";
};
};
extensions = {
dap-go = {
enable = true;
delve.path = "${pkgs.delve}/bin/dlv";
};
dap-ui = { enable = true; };
dap-virtual-text = { enable = true; };
};
};
}

View File

@@ -0,0 +1,26 @@
{ config, ... }: {
programs.nixvim = {
highlight = {
TelescopePromptPrefix.fg = "#${config.lib.stylix.colors.base0D}";
TelescopeSelectionCaret = {
fg = "#${config.lib.stylix.colors.base0D}";
bg = "#${config.lib.stylix.colors.base01}";
};
TelescopeSelection.bg = "#${config.lib.stylix.colors.base01}";
TelescopePromptTitle = {
bg = "#${config.lib.stylix.colors.base00}";
fg = "#${config.lib.stylix.colors.base0D}";
};
TelescopePromptNormal.bg = "#${config.lib.stylix.colors.base00}";
TelescopePromptBorder = {
bg = "#${config.lib.stylix.colors.base00}";
fg = "#${config.lib.stylix.colors.base0D}";
};
};
plugins.telescope = {
enable = true;
extensions.fzf-native = { enable = true; };
settings.defaults = { selection_caret = " "; };
};
};
}

View File

@@ -6,6 +6,8 @@
lualine = {
enable = true;
settings = {
options.disabled_filetypes.statusline =
[ "dashboard" "alpha" "neo-tree" ];
alwaysDivideMiddle = true;
globalstatus = true;
@@ -30,10 +32,12 @@
};
};
};
dap.enable = true;
web-devicons.enable = true;
noice.enable = true;
notify.enable = true;
notify = {
enable = true;
level = "warn";
};
gitsigns = {
enable = true;
settings.current_line_blame = false;

View File

@@ -17,14 +17,6 @@
comment.enable = true;
nvim-autopairs.enable = true;
friendly-snippets.enable = true;
telescope = {
enable = true;
extensions.fzf-native = { enable = true; };
settings = {
selection_caret = "/ ";
layout_config = { prompt_position = "top"; };
};
};
todo-comments.enable = true;
treesitter = {
enable = true;
@@ -34,7 +26,6 @@
highlight.enable = true;
};
};
# TODO: Add not working
harpoon = {
enable = true;
enableTelescope = true;