Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion nvim/lua/lsp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ local servers = {
-- 'eslint',
'gopls',
'html',
'intelephense',
-- 'intelephense',
'phptools',
'jsonls',
'lemminx',
'lua_ls',
Expand Down
9 changes: 9 additions & 0 deletions nvim/lua/lsp/servers/phptools.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
return function(capabilities)
return {
capabilities = capabilities,
filetypes = {
'php',
'blade',
},
}
end
1 change: 0 additions & 1 deletion shell/functions
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,6 @@ install_pip_packages() {

install_cargo_packages() {
PACKAGES=(
tree-sitter-cli
stylua
)

Expand Down
4 changes: 2 additions & 2 deletions shell/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ if type luarocks &>/dev/null; then
fi

# Cargo
if type cargo &>/dev/null; then
export PATH="${PATH}:${HOME}/.cargo/bin"
if [ -f "${HOME}/.cargo/env" ]; then
source "${HOME}/.cargo/env"
fi

# Pyenv
Expand Down