From a097fa4c04e6db34bb409e0dea302c20629da8ec Mon Sep 17 00:00:00 2001 From: Christian Chiarulli Date: Tue, 13 Jul 2021 21:13:55 -0400 Subject: LunarVim 0.4.8 (#919) --- ftplugin/php.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ftplugin/php.lua') diff --git a/ftplugin/php.lua b/ftplugin/php.lua index 713ef44e..054dff79 100644 --- a/ftplugin/php.lua +++ b/ftplugin/php.lua @@ -1,3 +1,17 @@ +O.formatters.filetype["php"] = { + function() + return { + exe = O.lang.php.formatter.exe, + args = O.lang.php.formatter.args, + stdin = not (O.lang.php.formatter.stdin ~= nil), + } + end, +} + +require("formatter.config").set_defaults { + logging = false, + filetype = O.formatters.filetype, +} if require("lv-utils").check_lsp_client_active "intelephense" then return end -- cgit v1.2.3