Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch PHP's default LSP to intelephense instead of phpactor #270

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions install/terminal/select-dev-language.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ if [[ -n "$languages" ]]; then
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php --quiet && sudo mv composer.phar /usr/local/bin/composer
rm composer-setup.php

# Configure PHP's LSP to use intelephense instead of phpactor (default)
if ! grep -q 'php_lsp' ~/.config/nvim/lua/config/options.lua; then
echo 'vim.g.lazyvim_php_lsp = "intelephense"' >>~/.config/nvim/lua/config/options.lua
fi
;;
Python)
mise use --global python@latest
Expand Down