nixvim/config/core.nix

59 lines
1.3 KiB
Nix
Raw Normal View History

2024-08-20 05:43:03 +00:00
{
config = {
# Color scheme.
colorschemes.catppuccin = {
enable = true;
2024-08-21 15:03:46 +00:00
settings = {
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"];
};
};
};
};
2024-08-20 05:43:03 +00:00
};
# Options.
opts = {
# Indent settings.
tabstop = 2;
shiftwidth = 2;
expandtab = true;
# Line number.
number = true;
relativenumber = true;
signcolumn = "yes";
# Search case sensitivity.
ic = true;
};
# Clipboard.
clipboard = {
register = "unnamedplus";
providers.xclip.enable = true;
};
};
}