fix: deprecation warnings

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2025-10-20 09:22:50 +02:00
parent e61a6710cb
commit 25262c7a9c
Signed by: lander
GPG key ID: 0142722B4B0C536F
4 changed files with 73 additions and 58 deletions

View file

@ -1,8 +1,10 @@
{ {
plugins.illuminate = { plugins.illuminate = {
enable = true; enable = true;
underCursor = false;
filetypesDenylist = [ settings = {
under_cursor = false;
filetypes_denylist = [
"Outline" "Outline"
"TelescopePrompt" "TelescopePrompt"
"alpha" "alpha"
@ -10,4 +12,5 @@
"reason" "reason"
]; ];
}; };
};
} }

View file

@ -15,11 +15,14 @@ in
mkdnflow = { mkdnflow = {
enable = true; enable = true;
toDo.symbols = [
settings = {
to_do.symbols = [
" " " "
"" ""
"x" "x"
]; ];
mappings = { mappings = {
MkdnEnter = { MkdnEnter = {
key = "<cr>"; key = "<cr>";
@ -37,6 +40,7 @@ in
}; };
}; };
}; };
};
glow = { glow = {
enable = true; enable = true;

View file

@ -1,11 +1,16 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
withRuby = false;
plugins.lsp.servers = { plugins.lsp.servers = {
rubocop.enable = true; rubocop.enable = true;
ruby_lsp.enable = true; ruby_lsp.enable = true;
}; };
extraPackages = with pkgs; [ extraPackages = with pkgs; [
rubyPackages.rubocop-performance gcc # needed for compiling native extensions
gnumake
libyaml
pkg-config
]; ];
} }

View file

@ -7,30 +7,32 @@ in
plugins.neo-tree = { plugins.neo-tree = {
enable = true; enable = true;
settings = {
sources = [ sources = [
"filesystem" "filesystem"
"buffers" "buffers"
"git_status" "git_status"
"document_symbols" "document_symbols"
]; ];
addBlankLineAtTop = false;
add_blank_line_at_top = false;
filesystem = { filesystem = {
bindToCwd = false; bind_to_cwd = false;
followCurrentFile = { follow_current_file = {
enabled = true; enabled = true;
}; };
}; };
defaultComponentConfigs = { default_component_configs = {
indent = { indent = {
withExpanders = true; with_expanders = true;
expanderCollapsed = "󰅂"; expander_collapsed = "󰅂";
expanderExpanded = "󰅀"; expander_expanded = "󰅀";
expanderHighlight = "NeoTreeExpander"; expander_highlight = "NeoTreeExpander";
}; };
gitStatus = with icons.git; { git_status = with icons.git; {
symbols = { symbols = {
added = "${Added}"; added = "${Added}";
conflict = "${Conflict}"; conflict = "${Conflict}";
@ -45,6 +47,7 @@ in
}; };
}; };
}; };
};
wKeyList = [ wKeyList = [
(wKeyObj [ (wKeyObj [