From 385d91f7e4305079f4be76a93cd138a12175ccfa Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Mon, 6 Nov 2023 04:27:41 +0300 Subject: [PATCH] docs: use literalMD for example codeblocks Co-authored-by: Ching Pei Yang <59727193+horriblename@users.noreply.github.com> --- modules/completion/nvim-cmp/nvim-cmp.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/completion/nvim-cmp/nvim-cmp.nix b/modules/completion/nvim-cmp/nvim-cmp.nix index 977f7e94..fb9be864 100644 --- a/modules/completion/nvim-cmp/nvim-cmp.nix +++ b/modules/completion/nvim-cmp/nvim-cmp.nix @@ -50,7 +50,7 @@ with builtins; { ''; type = types.str; default = "nvim_cmp_menu_map"; - example = '' + example = lib.literalMD '' ```lua function(entry, vim_item) return vim_item