docs: use literalMD for example codeblocks

Co-authored-by: Ching Pei Yang <59727193+horriblename@users.noreply.github.com>
This commit is contained in:
NotAShelf 2023-11-06 04:27:41 +03:00
parent 9328443273
commit 385d91f7e4
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29

View file

@ -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