mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +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
|
|
@ -15,12 +15,12 @@ mkExtension {
|
|||
Custom theme, will use your global theme by default.
|
||||
'';
|
||||
|
||||
path = defaultNullOpts.mkStr { __raw = "vim.loop.cwd()"; } ''
|
||||
path = defaultNullOpts.mkStr (lib.nixvim.literalLua "vim.loop.cwd()") ''
|
||||
Directory to browse files from.
|
||||
`vim.fn.expanded` automatically.
|
||||
'';
|
||||
|
||||
cwd = defaultNullOpts.mkStr { __raw = "vim.loop.cwd()"; } ''
|
||||
cwd = defaultNullOpts.mkStr (lib.nixvim.literalLua "vim.loop.cwd()") ''
|
||||
Directory to browse folders from.
|
||||
`vim.fn.expanded` automatically.
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue