aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/laravel/utils.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha/laravel/utils.lua')
-rw-r--r--lua/alpha/laravel/utils.lua8
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