aboutsummaryrefslogtreecommitdiffstats
path: root/hm
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-08 11:37:19 +0200
committerSoispha <soispha@vhack.eu>2023-10-08 11:37:19 +0200
commit9721082786ed1515565cb3911af5baf41547fc4d (patch)
treea89550beef0d37cf8d9bb41c499375ea02dff9d2 /hm
parentfix(flake/packages): Remove gpg-iso as it's not used (diff)
downloadnixos-config-9721082786ed1515565cb3911af5baf41547fc4d.zip
fix(hm/conf/nvim/autocmds): Use 'desc' instead of 'description'
Diffstat (limited to 'hm')
-rw-r--r--hm/soispha/conf/nvim/autocmds/default.nix22
1 files changed, 11 insertions, 11 deletions
diff --git a/hm/soispha/conf/nvim/autocmds/default.nix b/hm/soispha/conf/nvim/autocmds/default.nix
index 005cc038..04942e28 100644
--- a/hm/soispha/conf/nvim/autocmds/default.nix
+++ b/hm/soispha/conf/nvim/autocmds/default.nix
@@ -31,7 +31,7 @@
'';
};
group = "create_dir";
- description = "Create the directory of the target file on write";
+ desc = "Create the directory of the target file on write";
}
{
event = ["TextYankPost"];
@@ -44,7 +44,7 @@
'';
};
group = "highlight_on_yank";
- description = "Highlight the yanked text";
+ desc = "Highlight the yanked text";
}
{
event = ["BufWritePre"];
@@ -52,7 +52,7 @@
command = ''
ks | if search("\\s\\+$", 'n') != 0 | :%s/\s\+$// | endif | 's
'';
- description = ''
+ desc = ''
Remove trailing whitespace on safe
:%s/\s\+$\| \+\ze\t//g >> For trailing spaces and spaces before tabstops
'';
@@ -63,14 +63,14 @@
pattern = ["*"];
command = "set nocursorline"; # TODO: possible also nocursorcolumn
group = "cursor_off";
- description = "Display cursorline and cursorcolumn ONLY in active window.";
+ desc = "Display cursorline and cursorcolumn ONLY in active window.";
}
{
event = ["WinEnter"];
pattern = ["*"];
command = "set cursorline"; # TODO: possible also cursorcolumn
group = "cursor_off";
- description = "Display cursorline and cursorcolumn ONLY in active window.";
+ desc = "Display cursorline and cursorcolumn ONLY in active window.";
}
{
@@ -78,14 +78,14 @@
pattern = ["*"];
command = "set colorcolumn=${config.programs.nixvim.options.colorcolumn}";
group = "colorcolumn_toggle";
- description = "Only activate the colorcolumn when focused";
+ desc = "Only activate the colorcolumn when focused";
}
{
event = ["BufLeave" "FocusLost" "InsertLeave" "WinLeave"];
pattern = ["*"];
command = "set colorcolumn=0";
group = "colorcolumn_toggle";
- description = "Only activate the colorcolumn when focused";
+ desc = "Only activate the colorcolumn when focused";
}
{
@@ -93,14 +93,14 @@
pattern = ["*"];
command = "if &nu && mode() != \"i\" | set rnu | endif";
group = "numbertoggle";
- description = "Change line numbers, when not focused";
+ desc = "Change line numbers, when not focused";
}
{
event = ["BufLeave" "FocusLost" "InsertEnter" "WinLeave"];
pattern = ["*"];
command = "if &nu | set nornu | endif";
group = "numbertoggle";
- description = "Change line numbers, when not focused";
+ desc = "Change line numbers, when not focused";
}
{
@@ -109,7 +109,7 @@
pattern = ["*"];
command = "highlight LineNr ctermfg=DarkGrey guifg=DarkGrey ";
group = "coloroverride";
- description = "Changes Line number colors";
+ desc = "Changes Line number colors";
}
{
# Override CursorLineNr
@@ -117,7 +117,7 @@
pattern = ["*"];
command = "highlight CursorLineNr ctermfg=White guifg=White ";
group = "coloroverride";
- description = "Changes Line number colors";
+ desc = "Changes Line number colors";
}
];
};