diff --git a/modules/autocmd.nix b/modules/autocmd.nix index 989deebc..280894e9 100644 --- a/modules/autocmd.nix +++ b/modules/autocmd.nix @@ -11,28 +11,30 @@ with lib; type = types.attrsOf helpers.autocmd.autoGroupOption; default = { }; description = "augroup definitions"; - example = '' - autoGroups = { - my_augroup = { - clear = true; - } + example = { + my_augroup = { + clear = true; }; - ''; + }; }; autoCmd = mkOption { type = types.listOf helpers.autocmd.autoCmdOption; default = [ ]; description = "autocmd definitions"; - example = '' - autoCmd = [ - { - event = [ "BufEnter" "BufWinEnter" ]; - pattern = [ "*.c" "*.h" ]; - command = "echo 'Entering a C or C++ file'"; - } - ]; - ''; + example = [ + { + event = [ + "BufEnter" + "BufWinEnter" + ]; + pattern = [ + "*.c" + "*.h" + ]; + command = "echo 'Entering a C or C++ file'"; + } + ]; }; }; diff --git a/modules/highlights.nix b/modules/highlights.nix index 5791d298..a6a7d057 100644 --- a/modules/highlights.nix +++ b/modules/highlights.nix @@ -11,33 +11,27 @@ with lib; type = types.attrsOf helpers.nixvimTypes.highlight; default = { }; description = "Define new highlight groups"; - example = '' - highlight = { - MacchiatoRed.fg = "#ed8796"; - }; - ''; + example = { + MacchiatoRed.fg = "#ed8796"; + }; }; highlightOverride = mkOption { type = types.attrsOf helpers.nixvimTypes.highlight; default = { }; description = "Define highlight groups to override existing highlight"; - example = '' - highlightOverride = { - Comment.fg = "#ff0000"; - }; - ''; + example = { + Comment.fg = "#ff0000"; + }; }; match = mkOption { type = types.attrsOf types.str; default = { }; description = "Define match groups"; - example = '' - match = { - ExtraWhitespace = "\\s\\+$"; - }; - ''; + example = { + ExtraWhitespace = "\\s\\+$"; + }; }; };