mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-18 16:29:40 +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
|
|
@ -42,12 +42,10 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
[README](https://github.com/AckslD/nvim-neoclip.lua#custom-actions).
|
||||
'';
|
||||
|
||||
db_path =
|
||||
helpers.defaultNullOpts.mkStr { __raw = "vim.fn.stdpath('data') .. '/databases/neoclip.sqlite3'"; }
|
||||
''
|
||||
The path to the sqlite database to store history if `enable_persistent_history=true`.
|
||||
Defaults to `$XDG_DATA_HOME/nvim/databases/neoclip.sqlite3`.
|
||||
'';
|
||||
db_path = helpers.defaultNullOpts.mkStr (lib.nixvim.literalLua "vim.fn.stdpath('data') .. '/databases/neoclip.sqlite3'") ''
|
||||
The path to the sqlite database to store history if `enable_persistent_history=true`.
|
||||
Defaults to `$XDG_DATA_HOME/nvim/databases/neoclip.sqlite3`.
|
||||
'';
|
||||
|
||||
filter = helpers.defaultNullOpts.mkLuaFn null ''
|
||||
A function to filter what entries to store (default all are stored).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue