Skip to content

Commit

Permalink
docs: use literalMD for example codeblocks
Browse files Browse the repository at this point in the history
Co-authored-by: Ching Pei Yang <[email protected]>
  • Loading branch information
NotAShelf and horriblename committed Nov 6, 2023
1 parent 9328443 commit 385d91f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/completion/nvim-cmp/nvim-cmp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 385d91f

Please sign in to comment.