mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-02 21:34:33 +02:00
New wrapDo helper and wrapping nvim-cmp in do ... end (#53)
* added wrapDo helper * nvim-cmp: wrapped with do Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
This commit is contained in:
parent
9658aaf990
commit
76b915937e
2 changed files with 7 additions and 1 deletions
|
@ -106,6 +106,12 @@ rec {
|
|||
|
||||
mkRaw = r: { __raw = r; };
|
||||
|
||||
wrapDo = string: ''
|
||||
do
|
||||
${string}
|
||||
end
|
||||
'';
|
||||
|
||||
rawType = types.submodule {
|
||||
options = {
|
||||
__raw = mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue