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:
Alexander Nortung 2022-11-08 20:59:26 +01:00 committed by GitHub
parent 1a89cd2107
commit cba9cca52b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 102 additions and 0 deletions

View file

@ -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