diff options
| author | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2022-09-20 17:45:11 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2022-09-20 17:45:44 +0200 |
| commit | 7701e1e3ebf73c58d2636a0707c08dca459a15ff (patch) | |
| tree | e2972ebb504088f4cc65cbbae699775c3f75c070 /lua/alpha/snips/ft | |
| parent | 0dbf8150681d38907a29a4aa1893faa3bda4b9c6 (diff) | |
| download | nvim-conf-7701e1e3ebf73c58d2636a0707c08dca459a15ff.tar.gz nvim-conf-7701e1e3ebf73c58d2636a0707c08dca459a15ff.zip | |
disable hydra since was not working for the window as I was expecting
Diffstat (limited to 'lua/alpha/snips/ft')
| -rw-r--r-- | lua/alpha/snips/ft/php.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/alpha/snips/ft/php.lua b/lua/alpha/snips/ft/php.lua index 70cf49b..a9bbe37 100644 --- a/lua/alpha/snips/ft/php.lua +++ b/lua/alpha/snips/ft/php.lua @@ -48,6 +48,9 @@ local namespace = function() end end dir = dir:gsub("/", "\\") + if dir == "" then + return globalNamespace + end return string.format("%s\\%s", globalNamespace, dir) end |