summaryrefslogtreecommitdiff
path: root/ftplugin/php.lua
diff options
context:
space:
mode:
authorchristianchiarulli <[email protected]>2021-07-01 23:42:26 -0400
committerchristianchiarulli <[email protected]>2021-07-01 23:42:26 -0400
commit20ed47e21e966a5b857ef9970ae6171b3a504ce1 (patch)
tree92bdefc7589545f4429a55b53e4493ad7832e632 /ftplugin/php.lua
parent9bb4f8a085644914c79343b48c808509311ee203 (diff)
lsp in ftplugin austonautomoy
Diffstat (limited to 'ftplugin/php.lua')
-rw-r--r--ftplugin/php.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/php.lua b/ftplugin/php.lua
new file mode 100644
index 00000000..abc90092
--- /dev/null
+++ b/ftplugin/php.lua
@@ -0,0 +1,4 @@
+require'lspconfig'.intelephense.setup {
+ cmd = { DATA_PATH .. "/lspinstall/php/node_modules/.bin/intelephense", "--stdio" },
+ on_attach = require'lsp'.common_on_attach
+} \ No newline at end of file