From 67f55ef388b18310c06219eb3207ba513673127a Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Fri, 5 Aug 2022 09:02:11 +0200 Subject: add temporary laravel plugin scratch --- lua/alpha/laravel/utils.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lua/alpha/laravel/utils.lua (limited to 'lua/alpha/laravel/utils.lua') 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 -- cgit v1.2.3