diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-01-22 10:05:02 +0100 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-01-22 10:05:02 +0100 |
| commit | ce0932e5f1b177f44d2faf50eb9b9c86fb172fa9 (patch) | |
| tree | 22f1be2e59fbe660673f06398c28fd06509a29f4 /lua/alpha/snippets/php.lua | |
| parent | a9c14629bdb3edd1d9803b9a6e311f8ba256908e (diff) | |
| download | nvim-conf-ce0932e5f1b177f44d2faf50eb9b9c86fb172fa9.tar.gz nvim-conf-ce0932e5f1b177f44d2faf50eb9b9c86fb172fa9.zip | |
Add condition to snippet, remove condition to vimspector
Diffstat (limited to 'lua/alpha/snippets/php.lua')
| -rw-r--r-- | lua/alpha/snippets/php.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/alpha/snippets/php.lua b/lua/alpha/snippets/php.lua index cc84950..19088c4 100644 --- a/lua/alpha/snippets/php.lua +++ b/lua/alpha/snippets/php.lua @@ -7,6 +7,7 @@ local c = ls.choice_node local d = ls.dynamic_node -- local f = ls.function_node -- local l = require("luasnip.extras").lambda +local conds = require("luasnip.extras.expand_conditions") -- visibility allows to reuse it pasing the first option to show for the -- snippet |