summaryrefslogtreecommitdiff
path: root/dot_config/nvim_new/lsp/phpactor.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/nvim_new/lsp/phpactor.lua')
-rw-r--r--dot_config/nvim_new/lsp/phpactor.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/dot_config/nvim_new/lsp/phpactor.lua b/dot_config/nvim_new/lsp/phpactor.lua
new file mode 100644
index 0000000..7116e26
--- /dev/null
+++ b/dot_config/nvim_new/lsp/phpactor.lua
@@ -0,0 +1,12 @@
+---@brief
+---
+--- https://github.com/phpactor/phpactor
+---
+--- Installation: https://phpactor.readthedocs.io/en/master/usage/standalone.html#global-installation
+
+return {
+ cmd = { 'phpactor', 'language-server' },
+ filetypes = { 'php' },
+ root_markers = { '.git', 'composer.json', '.phpactor.json', '.phpactor.yml' },
+ workspace_required = true,
+}