Compare commits
No commits in common. "4ca81595ba9adcd91ff0a01698e87e5adae556e9" and "a5eb7fe89ee8ba654f339d8f75cecb39851743ec" have entirely different histories.
4ca81595ba
...
a5eb7fe89e
10 changed files with 3 additions and 114 deletions
|
@ -3,36 +3,7 @@
|
||||||
# Color scheme.
|
# Color scheme.
|
||||||
colorschemes.catppuccin = {
|
colorschemes.catppuccin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings.flavour = "mocha";
|
||||||
flavour = "mocha";
|
|
||||||
no_bold = false;
|
|
||||||
no_italic = false;
|
|
||||||
no_underline = false;
|
|
||||||
integrations = {
|
|
||||||
cmp = true;
|
|
||||||
neotree = true;
|
|
||||||
harpoon = true;
|
|
||||||
gitsigns = true;
|
|
||||||
which_key = true;
|
|
||||||
illuminate.enabled = true;
|
|
||||||
treesitter = true;
|
|
||||||
treesitter_context = true;
|
|
||||||
telescope.enabled = true;
|
|
||||||
indent_blankline.enabled = true;
|
|
||||||
native_lsp = {
|
|
||||||
enabled = true;
|
|
||||||
inlay_hints = {
|
|
||||||
background = true;
|
|
||||||
};
|
|
||||||
underlines = {
|
|
||||||
errors = ["underline"];
|
|
||||||
hints = ["underline"];
|
|
||||||
information = ["underline"];
|
|
||||||
warnings = ["underline"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Options.
|
# Options.
|
||||||
|
|
|
@ -6,20 +6,16 @@
|
||||||
./core.nix
|
./core.nix
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
./gitsigns.nix
|
./gitsigns.nix
|
||||||
./harpoon.nix
|
|
||||||
./illuminate.nix
|
|
||||||
./indent-blankline.nix
|
./indent-blankline.nix
|
||||||
./keybindings.nix
|
./keybindings.nix
|
||||||
./lazygit.nix
|
./lazygit.nix
|
||||||
./lsp
|
./lsp
|
||||||
./lualine.nix
|
|
||||||
./neo-tree.nix
|
|
||||||
./nvim-cmp.nix
|
|
||||||
./project.nix
|
./project.nix
|
||||||
./rainbow-delimiters.nix
|
./rainbow-delimiters.nix
|
||||||
./telescope.nix
|
./telescope.nix
|
||||||
./toggleterm.nix
|
./toggleterm.nix
|
||||||
./treesitter.nix
|
./treesitter.nix
|
||||||
|
./neo-tree.nix
|
||||||
./which-key.nix
|
./which-key.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
plugins.harpoon = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,15 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
plugins.illuminate = {
|
|
||||||
enable = true;
|
|
||||||
underCursor = false;
|
|
||||||
filetypesDenylist = [
|
|
||||||
"Outline"
|
|
||||||
"TelescopePrompt"
|
|
||||||
"alpha"
|
|
||||||
"harpoon"
|
|
||||||
"reason"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -57,7 +57,7 @@
|
||||||
options = {
|
options = {
|
||||||
remap = true;
|
remap = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
# Use ESC to exit terminal mode
|
# Use ESC to exit terminal mode
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,6 +2,5 @@
|
||||||
imports = [
|
imports = [
|
||||||
./lsp.nix
|
./lsp.nix
|
||||||
./lsp-format.nix
|
./lsp-format.nix
|
||||||
./lspkind.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
inlayHints = true;
|
|
||||||
keymaps = {
|
keymaps = {
|
||||||
silent = true;
|
silent = true;
|
||||||
lspBuf = {
|
lspBuf = {
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
plugins.lspkind = {
|
|
||||||
enable = true;
|
|
||||||
symbolMap = {
|
|
||||||
Copilot = "";
|
|
||||||
};
|
|
||||||
extraOptions = {
|
|
||||||
maxwidth = 50;
|
|
||||||
ellipsis_char = "...";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
plugins.lualine = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,39 +0,0 @@
|
||||||
{
|
|
||||||
plugins = {
|
|
||||||
cmp = {
|
|
||||||
enable = true;
|
|
||||||
autoEnableSources = false;
|
|
||||||
settings = {
|
|
||||||
sources = [
|
|
||||||
{ name = "nvim_lsp"; }
|
|
||||||
{
|
|
||||||
name = "buffer"; # text within current buffer
|
|
||||||
option.get_bufnrs.__raw = "vim.api.nvim_list_bufs";
|
|
||||||
keywordLength = 3;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "path"; # file system paths
|
|
||||||
keywordLength = 3;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "luasnip"; # snippets
|
|
||||||
keywordLength = 3;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
mapping = {
|
|
||||||
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
|
|
||||||
"<C-j>" = "cmp.mapping.select_next_item()";
|
|
||||||
"<C-k>" = "cmp.mapping.select_prev_item()";
|
|
||||||
"<C-e>" = "cmp.mapping.abort()";
|
|
||||||
"<C-b>" = "cmp.mapping.scroll_docs(-4)";
|
|
||||||
"<C-f>" = "cmp.mapping.scroll_docs(4)";
|
|
||||||
"<C-Space>" = "cmp.mapping.complete()";
|
|
||||||
"<CR>" = "cmp.mapping.confirm({ select = true })";
|
|
||||||
"<S-CR>" = "cmp.mapping.confirm({ behavior = cmp.ConfirmBehavior.Replace, select = true })";
|
|
||||||
};};
|
|
||||||
};
|
|
||||||
cmp-nvim-lsp.enable = true;
|
|
||||||
cmp-path.enable = true;
|
|
||||||
cmp-buffer.enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue