mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-28 03:20:08 +02:00
luasnip: init plugin (#56)
* luasnip: init plugin Also added support for paths in `toLuaObject` * luasnip: more flexible types * luasnip: changed options to be more flexible * luasnip: added example * luasnip: added package option
This commit is contained in:
parent
1a89cd2107
commit
cba9cca52b
3 changed files with 102 additions and 0 deletions
|
@ -23,6 +23,8 @@ rec {
|
|||
else if builtins.isString args then
|
||||
# This should be enough!
|
||||
escapeShellArg args
|
||||
else if builtins.isPath args then
|
||||
escapeShellArg args
|
||||
else if builtins.isBool args then
|
||||
"${ boolToString args }"
|
||||
else if builtins.isFloat args then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue