Set up ruby
This commit is contained in:
parent
16ce934bd8
commit
752cac8f96
@ -191,6 +191,7 @@
|
||||
(html-web-mode . eglot-ensure)
|
||||
(scala-mode . eglot-ensure)
|
||||
(c-mode . eglot-ensure)
|
||||
(ruby-mode . eglot-ensure)
|
||||
:custom
|
||||
(eglot-confirm-server-initiated-edits nil))
|
||||
|
||||
|
8
emacs/.emacs.d/config/init-ruby.el
Normal file
8
emacs/.emacs.d/config/init-ruby.el
Normal file
@ -0,0 +1,8 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
(use-package ruby-mode
|
||||
:straight (:typebuilt-in))
|
||||
|
||||
(use-package rbenv
|
||||
:hook (after-init . global-rbenv-mode))
|
||||
|
||||
(provide 'init-ruby)
|
@ -94,6 +94,7 @@
|
||||
(require 'init-java)
|
||||
(require 'init-scala)
|
||||
(require 'init-js)
|
||||
(require 'init-ruby)
|
||||
(require 'init-rust)
|
||||
(require 'init-web)
|
||||
(require 'init-xml)
|
||||
|
@ -37,9 +37,10 @@ brew "prettier"
|
||||
brew "pyenv"
|
||||
brew "pyright"
|
||||
brew "python@3.9"
|
||||
brew "rbenv"
|
||||
brew "restic"
|
||||
brew "ripgrep"
|
||||
brew "ruby"
|
||||
brew "ruby-build"
|
||||
brew "sbt"
|
||||
brew "scala"
|
||||
brew "seamstress"
|
||||
|
@ -35,3 +35,7 @@ if [ -d "/opt/homebrew/Caskroom/google-cloud-sdk" ]; then
|
||||
fi
|
||||
|
||||
[[ -e "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env"
|
||||
|
||||
if command -v rbenv &> /dev/null; then
|
||||
eval "$(rbenv init - zsh)"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user