diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-08-05 09:02:11 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-08-05 09:02:55 +0200 |
| commit | 67f55ef388b18310c06219eb3207ba513673127a (patch) | |
| tree | e1dc45f9b52ed39369f451ab5ac4ddcf30e5aa3e /lua/alpha/laravel/utils.lua | |
| parent | 0c6c7768eb0fe0fd496c936ecb348c694180fc1a (diff) | |
| download | nvim-conf-67f55ef388b18310c06219eb3207ba513673127a.tar.gz nvim-conf-67f55ef388b18310c06219eb3207ba513673127a.zip | |
add temporary laravel plugin scratch
Diffstat (limited to 'lua/alpha/laravel/utils.lua')
| -rw-r--r-- | lua/alpha/laravel/utils.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/alpha/laravel/utils.lua b/lua/alpha/laravel/utils.lua new file mode 100644 index 0000000..d1e8885 --- /dev/null +++ b/lua/alpha/laravel/utils.lua @@ -0,0 +1,8 @@ +local M = {} +M.is_make_command = function (command) + local command_split = vim.split(command, ":") + + return command_split[1] == "make" +end + +return M |