diff options
Diffstat (limited to 'nvim/lsp/psalm.lua')
| -rwxr-xr-x | nvim/lsp/psalm.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nvim/lsp/psalm.lua b/nvim/lsp/psalm.lua new file mode 100755 index 0000000..8ccc96c --- /dev/null +++ b/nvim/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' }, +} |
