global/neovim: enable and config some plugins

This commit is contained in:
Infinidoge 2025-01-13 10:51:59 -05:00
parent b351581938
commit 941b8060c9
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -16,6 +16,7 @@ let
]; ];
inherit (main.universe) programming; inherit (main.universe) programming;
inherit (main) universe;
in in
{ {
programs.nixvim = { programs.nixvim = {
@ -77,6 +78,7 @@ in
}; };
w = { w = {
q.action = ":close<Enter>"; q.action = ":close<Enter>";
d.action = ":close<Enter>";
v.action = ":vsplit<Enter>"; v.action = ":vsplit<Enter>";
s.action = ":split<Enter>"; s.action = ":split<Enter>";
V.action = ":vsplit "; V.action = ":vsplit ";
@ -100,12 +102,20 @@ in
options.disableWhenTouch = true; options.disableWhenTouch = true;
}; };
comment.enable = true; comment.enable = true;
cmp.enable = true;
cursorline.enable = true; cursorline.enable = true;
direnv.enable = true; direnv.enable = true;
fidget.enable = true; fidget.enable = true;
fzf-lua.enable = true; fzf-lua.enable = true;
gitsigns.enable = true; gitsigns.enable = true;
hydra = {
enable = true;
};
image.enable = universe.media.enable;
lsp-format.enable = true; lsp-format.enable = true;
mkdnflow = {
enable = true;
};
neorg = { neorg = {
enable = true; enable = true;
modules = let empty = { __empty = null; }; in { modules = let empty = { __empty = null; }; in {
@ -123,6 +133,7 @@ in
folding = false; folding = false;
settings = { settings = {
highlight.enable = true; highlight.enable = true;
indent.enable = true;
}; };
}; };
ts-autotag.enable = true; ts-autotag.enable = true;
@ -153,12 +164,18 @@ in
enable = programming.python.enable; enable = programming.python.enable;
settings = { settings = {
plugins = { plugins = {
autopep8.enable = false;
ruff = { ruff = {
formatEnabled = true; formatEnabled = true;
enable = true; enable = true;
format = [ "I" ]; format = [ "I" ];
extendSelect = [ "I" ];
lineLength = 120;
select = [ "F" ];
}; };
rope.enable = true; rope.enable = true;
rope_completion.enable = true;
}; };
}; };
}; };