From 9721082786ed1515565cb3911af5baf41547fc4d Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 8 Oct 2023 11:37:19 +0200 Subject: fix(hm/conf/nvim/autocmds): Use 'desc' instead of 'description' --- hm/soispha/conf/nvim/autocmds/default.nix | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'hm/soispha') 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"; } ]; }; -- cgit 1.4.1