summaryrefslogtreecommitdiff
path: root/dot_config/nvim_new/lsp/psalm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/nvim_new/lsp/psalm.lua')
-rw-r--r--dot_config/nvim_new/lsp/psalm.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/dot_config/nvim_new/lsp/psalm.lua b/dot_config/nvim_new/lsp/psalm.lua
new file mode 100644
index 0000000..8ccc96c
--- /dev/null
+++ b/dot_config/nvim_new/lsp/psalm.lua
@@ -0,0 +1,13 @@
+---@brief
+---
+--- https://github.com/vimeo/psalm
+---
+--- Can be installed with composer.
+--- ```sh
+--- composer global require vimeo/psalm
+--- ```
+return {
+ cmd = { 'psalm', '--language-server' },
+ filetypes = { 'php' },
+ root_markers = { 'psalm.xml', 'psalm.xml.dist' },
+}