summaryrefslogtreecommitdiff
path: root/modules/programs/vim.nix
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2021-10-23 15:05:52 +0200
committerDaiderd Jordan <daiderd@gmail.com>2021-10-23 15:06:42 +0200
commit44da835ac40dab5fd231298b59d83487382d2fab (patch)
tree38759adb4565c164518441b6759960e11f1e61c1 /modules/programs/vim.nix
parent8dfeb92ec1b217898f9cf9f64421120b2a20fed4 (diff)
add forward compatibility for literalExample deprecation
Fixes #367
Diffstat (limited to 'modules/programs/vim.nix')
-rw-r--r--modules/programs/vim.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/programs/vim.nix b/modules/programs/vim.nix
index bceae54..345532e 100644
--- a/modules/programs/vim.nix
+++ b/modules/programs/vim.nix
@@ -31,7 +31,7 @@ in
programs.vim.extraKnownPlugins = mkOption {
type = types.attrsOf types.package;
default = {};
- example = literalExample
+ example = literalExpression
''
{
vim-jsx = pkgs.vimUtils.buildVimPluginFrom2Nix {