Browse Source

Changes for ruby, lsp

master
Taylor Bockman 4 years ago
parent
commit
bfd2d3b5a7
  1. 1
      dotfiles/bash/bash_profile
  2. 8
      dotfiles/bash/bashrc
  3. 8
      dotfiles/emacs.d/init.el

1
dotfiles/bash/bash_profile

@ -8,4 +8,3 @@ export PATH="/usr/local/opt/openjdk/bin:$PATH"
export PATH="/usr/local/opt/llvm/bin:$PATH"
export PATH="/usr/local/opt/qt/bin:$PATH"
export PATH="/usr/local/opt/tcl-tk/bin:$PATH"
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi

8
dotfiles/bash/bashrc

@ -119,11 +119,14 @@ if which go > /dev/null; then export GOPATH=$HOME/projects/go; fi
# ----------------------------------------- INITIALIZATIONS -------------------------------------- #
if which pyenv-virtualenv-init > /dev/null; then
if which pyenv-virtualenv-init > /dev/null; then
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
fi
# RVM configuration
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
# Test for the `bash-completion` package. Installing this adds better tab completion to bash.
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
@ -152,3 +155,6 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
else
export PS1='\[$bold\]\[$white\]\u@\h\[$reset\]: \[$bold\]\[$blue\]\w\[$reset\] \[$green\]$(parse_git_branch)\[$reset\]\[$bold\]\[$white\]⇨\[$reset\] '
fi
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"

8
dotfiles/emacs.d/init.el

@ -207,9 +207,10 @@ There are two things you can do about this warning:
;; LSP
(use-package lsp-mode
:ensure t
:hook (python-mode . lsp-deferred)
:commands (lsp lsp-deferred))
:ensure t
:hook ((python-mode . lsp-deferred)
(ruby-mode . lsp-deferred))
:commands (lsp lsp-deferred))
(use-package lsp-ui
@ -296,6 +297,7 @@ There are two things you can do about this warning:
;;
(require 'rvm)
(rvm-use-default)
(add-hook 'ruby-mode-hook 'robe-mode)

Loading…
Cancel
Save