1
0
Fork 0

Nixvim's updates, switch back to catppuccin and telescope

This commit is contained in:
Avery 2024-10-11 21:13:28 +02:00
parent a78efc6788
commit 6790e3ac3b
Signed by: Avery
GPG key ID: B684FD451B692E04
4 changed files with 33 additions and 17 deletions

View file

@ -6,18 +6,20 @@
./neo-tree.nix
./none-ls.nix
./treesitter.nix
./telescope.nix
];
programs.nixvim = {
enable = true;
colorschemes.tokyonight = {
colorschemes.catppuccin = {
enable = true;
settings = {
style = "night";
transparent = true;
styles = {
comments.italic = false;
keywords.italic = false;
flavour = "mocha";
no_italic = true;
transparent_background = true;
integrations = {
cmp = true;
neotree = true;
};
};
};
@ -36,7 +38,10 @@
signcolumn = "yes";
};
plugins.nvim-autopairs.enable = true;
plugins = {
web-devicons.enable = true;
nvim-autopairs.enable = true;
};
extraPlugins = with pkgs.vimPlugins; [ nvim-web-devicons ];
};

View file

@ -3,9 +3,9 @@
lsp = {
enable = true;
servers = {
nil-ls.enable = true;
nil_ls.enable = true;
pyright.enable = true;
rust-analyzer = {
rust_analyzer = {
enable = true;
installCargo = false;
installRustc = false;

View file

@ -1,14 +1,16 @@
{ ... }: {
programs.nixvim.plugins.lualine = {
enable = true;
componentSeparators = {
settings.options = {
component_separators = {
left = "";
right = "";
};
sectionSeparators = {
section_separators = {
left = "";
right = "";
};
disabledFiletypes.statusline = [ "neo-tree" ];
disabled_filetypes.statusline = [ "neo-tree" ];
};
};
}

View file

@ -0,0 +1,9 @@
{ ... }: {
programs.nixvim.plugins.telescope = {
enable = true;
keymaps = {
"<leader>ff" = "find_files";
"<leader>bb" = "buffers";
};
};
}