Some minor updates based on latest setup.

This commit is contained in:
pgfm 2022-02-17 05:41:06 -06:00
parent 97da57d7dd
commit a1feaeb14e
2 changed files with 17 additions and 8 deletions

View file

@ -268,14 +268,14 @@ lsp.zls.setup {
capabilities = capabilities
}
-- Note that metals is totally separate
-- Note that metals is totally separate.
-- It's also absurdly slow on a Raspberry Pi, it's only viable for somewhat
-- powerful machines (as is Scala dev in general).
metals_config = require("metals").bare_config()
metals_config.settings = {
showImplicitArguments = true,
serverVersion = "0.10.9+255-c4955009-SNAPSHOT",
serverVersion = "0.11.1",
}
metals_config.capabilities = capabilities

View file

@ -51,6 +51,10 @@ fi
# =============================================================================
# PATH
# =============================================================================
if [ -d "$HOME/bin" ]; then
export PATH="$HOME/bin:$PATH"
fi
if [ -f "$HOME/.cargo/env" ]; then
source "$HOME/.cargo/env"
fi
@ -61,22 +65,27 @@ fi
export RACKET_HOME="$HOME/opt/racket"
if [ -d "$RACKET_HOME" ]; then
export PATH=$PATH:$RACKET_HOME/bin
export PATH="$RACKET_HOME/bin:$PATH"
fi
export BUILDKIT_HOME="$HOME/opt/buildkit"
if [ -d "$BUILDKIT_HOME" ]; then
export PATH=$PATH:$HOME/opt/buildkit/bin
export PATH="$HOME/opt/buildkit/bin:$PATH"
fi
export JAVA_HOME="$HOME/opt/jdk"
if [ -d "$JAVA_HOME" ]; then
export PATH=$PATH:$JAVA_HOME/bin
if [ -d "$JAVA_HOME/bin" ]; then
export PATH="$JAVA_HOME/bin:$PATH"
fi
export COURSIER_HOME="$HOME/.local/share/coursier"
if [ -d "$COURSIER_HOME" ]; then
export PATH="$PATH:$COURSIER_HOME/bin"
if [ -d "$COURSIER_HOME/bin" ]; then
export PATH="$COURSIER_HOME/bin:$PATH"
fi
export N_PREFIX=/home/pfm/.n
if [ -d "$N_PREFIX/bin" ]; then
export PATH="$N_PREFIX/bin:$PATH"
fi
# =============================================================================