Update
This commit is contained in:
28
home/programs/nvim/plugins/dap.nix
Normal file
28
home/programs/nvim/plugins/dap.nix
Normal 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; };
|
||||
};
|
||||
};
|
||||
}
|
||||
26
home/programs/nvim/plugins/telescope.nix
Normal file
26
home/programs/nvim/plugins/telescope.nix
Normal 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 = "❚ "; };
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user