Browse Source

feat: add dartls to lspconfig

master
Tovi Jaeschke-Rogers 7 months ago
parent
commit
50ca4c75a8
2 changed files with 19 additions and 16 deletions
  1. +7
    -0
      .config/nvim/lua/tovi/plugins/lsp/lspconfig.lua
  2. +12
    -16
      .zshrc

+ 7
- 0
.config/nvim/lua/tovi/plugins/lsp/lspconfig.lua View File

@ -179,5 +179,12 @@ return {
}, },
}, },
}) })
-- configure python server
lspconfig["dartls"].setup({
capabilities = capabilities,
on_attach = on_attach,
})
end, end,
} }

+ 12
- 16
.zshrc View File

@ -192,30 +192,22 @@ function cdf () {
export PATH="/usr/local/opt/php@7.4/bin:$PATH" export PATH="/usr/local/opt/php@7.4/bin:$PATH"
export PATH="/usr/local/opt/php@7.4/sbin:$PATH" export PATH="/usr/local/opt/php@7.4/sbin:$PATH"
# eval "$(starship init zsh)"
if [[ $(uname) == 'Darwin' ]]; then
export PATH="/opt/homebrew/lib/ruby/gems/3.3.0:$PATH"
export PATH="/opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/gems/3.3.0:$PATH"
fi
export LESS='-R' export LESS='-R'
export LESSOPEN='|~/.lessfilter %s' export LESSOPEN='|~/.lessfilter %s'
export QT_QPA_PLATFORMTHEME="qt5ct"
# Open tmux when new interactive shell
#if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
# exec tmux
#fi
export ANDROID_HOME=$HOME/Android/Sdk export ANDROID_HOME=$HOME/Android/Sdk
if [[ $(uname) == 'Darwin' ]]; then
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
fi
export PATH=$PATH:$ANDROID_HOME/platform-tools export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin
export ANDROID_SDK_ROOT='/opt/android-sdk'
export PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools/
export PATH=$PATH:$ANDROID_SDK_ROOT/tools/bin/
export PATH=$PATH:$ANDROID_ROOT/emulator
export PATH=$PATH:$ANDROID_SDK_ROOT/tools/
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin
export PATH="/run/user/1000/fnm_multishells/20590_1663546026606/bin":$PATH export PATH="/run/user/1000/fnm_multishells/20590_1663546026606/bin":$PATH
export FNM_MULTISHELL_PATH="/run/user/1000/fnm_multishells/20590_1663546026606" export FNM_MULTISHELL_PATH="/run/user/1000/fnm_multishells/20590_1663546026606"
export FNM_VERSION_FILE_STRATEGY="local" export FNM_VERSION_FILE_STRATEGY="local"
@ -226,3 +218,7 @@ export FNM_ARCH="x64"
rehash rehash
export PHPCS_STANDARD=~/.config/phpcs.xml export PHPCS_STANDARD=~/.config/phpcs.xml
if [[ $(uname) == 'Darwin' ]]; then
eval "$(rbenv init - zsh)"
fi

Loading…
Cancel
Save