diff --git a/.config/nvim/lua/dln/lsp-config.lua b/.config/nvim/lua/dln/lsp-config.lua index 20ddcf3..f9b5a49 100644 --- a/.config/nvim/lua/dln/lsp-config.lua +++ b/.config/nvim/lua/dln/lsp-config.lua @@ -26,6 +26,7 @@ local servers = { "dockerls", "jsonls", -- "sql", + "pyright", "sumneko_lua", "terraformls", "yamlls", diff --git a/.zshrc b/.zshrc index f9da5fd..0294efc 100644 --- a/.zshrc +++ b/.zshrc @@ -150,6 +150,12 @@ export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git' ## direnv eval "$(direnv hook zsh)" + +## pyenv +export PYENV_ROOT="$HOME/.pyenv" +command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" +eval "$(pyenv init -)" + ## eksctl if [ ! -f "${fpath[1]}/_eksctl" ]; then command -v eksctl >/dev/null 2>&1 && eksctl completion zsh > "${fpath[1]}/_eksctl"