You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/zsh
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
It seems like this is a regression in the parser – it shouldn't throw an error while parsing.
Code editor
Sublime Text
Platform
macOS
Version
bash-language-server 4.10.0
Node 16.17.1
What steps will reproduce the bug?
Opened a
.zshrc
file.The file doesn't seem to have any sensitive information so I'll provide it here but I don't know if it will reproduce without the referenced files.
.zshrc
How often does it reproduce? Is there a required condition?
Open the specific .zshrc file
What is the expected behavior?
No crash
What do you see instead?
Server crashes with error:
Additional information
To save you some potential debugging, the code around the place where it crashes looks like this:
Check also related issue in the LSP-bash Sublime Text plugin - sublimelsp/LSP-bash#63
The text was updated successfully, but these errors were encountered: