mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-17 16:02:48 +01:00
treewide(docs): use literalLua instead of __raw in option examples
This commit is contained in:
parent
5aae2b9fcd
commit
5ddfbdf1c2
23 changed files with 54 additions and 57 deletions
|
|
@ -53,7 +53,7 @@ mkVimPlugin {
|
|||
The highlight group to be used for highlighting cells.
|
||||
'';
|
||||
|
||||
save_path = helpers.defaultNullOpts.mkStr { __raw = "vim.fn.stdpath('data') .. '/magma'"; } ''
|
||||
save_path = helpers.defaultNullOpts.mkStr (lib.nixvim.literalLua "vim.fn.stdpath('data') .. '/magma'") ''
|
||||
Where to save/load with `:MagmaSave` and `:MagmaLoad` (with no parameters).
|
||||
The generated file is placed in this directory, with the filename itself being the
|
||||
buffer's name, with `%` replaced by `%%` and `/` replaced by `%`, and postfixed with the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue