nvf finally working well!

This commit is contained in:
Vali 2024-07-07 23:45:18 +02:00
commit 9962740d37
24 changed files with 209 additions and 189 deletions

View file

@ -1,8 +1,8 @@
_:{
programs.neovim-flake.settings.vim = {
assistant.copilot = {
enable = true;
cmp.enable = true;
enable = false;
cmp.enable = false;
};
};
}

View file

@ -5,7 +5,7 @@ _:{
type = "nvim-cmp";
mappings = {
# close = "<C-e>";
confirm = "<C-y>";
# confirm = "<tab>";
next = "<C-n>";
previous = "<C-p>";
scrollDocsDown = "<C-j>";

View file

@ -1,6 +1,4 @@
{config, ...}: let
inherit (config.modules.other.system) username;
in {
_: {
programs.neovim-flake.settings.vim = {
autopairs.enable = true;
};

View file

@ -3,7 +3,7 @@
in {
programs.neovim-flake.settings.vim = {
dashboard = {
alpha.enable = true;
alpha.enable = false;
};
};
}

View file

@ -1,6 +1,4 @@
{config, ...}: let
inherit (config.modules.other.system) username;
in {
_: {
programs.neovim-flake.settings.vim = {
filetree = {
nvimTree = {
@ -9,6 +7,7 @@ in {
mappings = {
#toggle = "<C-w>";
toggle = "<leader>e";
};
setupOpts = {

View file

@ -1,4 +1,4 @@
_:{
_: {
programs.neovim-flake.settings.vim = {
git = {
enable = true;

View file

@ -1,4 +1,4 @@
_:{
_: {
programs.neovim-flake.settings.vim = {
languages = {
enableLSP = true;

View file

@ -1,4 +1,4 @@
_:{
_: {
programs.neovim-flake.settings.vim = {
lsp = {
formatOnSave = true;
@ -8,8 +8,8 @@ _:{
lspsaga.enable = false;
lspSignature.enable = true;
nvimCodeActionMenu.enable = true;
trouble.enable = false;
nvim-docs-view.enable = true;
# trouble.enable = false;
# nvim-docs-view.enable = true;
};
};
}

View file

@ -3,7 +3,7 @@
in {
programs.neovim-flake.settings.vim = {
notify = {
nvim-notify.enable = true;
nvim-notify.enable = true;
};
};
}

View file

@ -1,6 +1,4 @@
{config, ...}: let
inherit (config.modules.other.system) username;
in {
_: {
programs.neovim-flake.settings.vim = {
statusline = {
lualine = {

View file

@ -1,6 +1,4 @@
{config, ...}: let
inherit (config.modules.other.system) username;
in {
_: {
programs.neovim-flake.settings.vim = {
tabline = {
nvimBufferline.enable = true;

View file

@ -1,8 +1,8 @@
_:{
_: {
programs.neovim-flake.settings.vim = {
terminal = {
toggleterm = {
enable = true;
enable = false;
mappings.open = "<C-t>";
setupOpts = {
@ -10,7 +10,6 @@ _:{
lazygit = {
enable = true;
direction = "tab";
mappings.open = "<leader>gg";
};
};
};

View file

@ -9,15 +9,15 @@ in {
ui = {
noice.enable = true;
colorizer.enable = true;
modes-nvim.enable = false;
modes-nvim.enable = true;
illuminate.enable = true;
breadcrumbs = {
enable = true;
source = "nvim-navic";
navbuddy.enable = false;
};
smartcolumn = {
enable = true;
setupOpts = {
@ -30,7 +30,7 @@ in {
};
};
};
borders = {
enable = true;
globalStyle = "rounded";

View file

@ -1,30 +1,24 @@
{
config,
pkgs,
...
}: let
inherit (config.modules.other.system) username;
in {
{pkgs, ...}: {
programs.neovim-flake.settings.vim = {
utility = {
ccc.enable = true;
icon-picker.enable = true;
diffview-nvim.enable = true;
#
vim-wakatime = {
enable = true;
cli-package = pkgs.wakatime-cli;
};
motion = {
hop.enable = true;
leap.enable = false;
};
preview = {
glow.enable = true;
markdownPreview.enable = true;
};
#
# motion = {
# hop.enable = false;
# leap.enable = false;
# };
#
# preview = {
# glow.enable = true;
# markdownPreview.enable = true;
# };
};
};
}

View file

@ -5,7 +5,7 @@ in {
visuals = {
enable = true;
nvimWebDevicons.enable = true;
scrollBar.enable = true;
scrollBar.enable = false;
smoothScroll.enable = false;
cellularAutomaton.enable = false;
highlight-undo.enable = true;