config/doom: update modes for ruby

This commit is contained in:
xeruf 2022-10-08 16:54:10 +02:00
parent 14cd04de96
commit 6365118c80
2 changed files with 6 additions and 2 deletions

View File

@ -842,7 +842,8 @@ Version 2019-11-04 2021-02-16"
(add-to-list 'auto-mode-alist '("\\.twee\\'" . twee-chapbook-mode)) (add-to-list 'auto-mode-alist '("\\.twee\\'" . twee-chapbook-mode))
(add-hook 'twee-chapbook-mode-hook 'twee-mode) (add-hook 'twee-chapbook-mode-hook 'twee-mode)
(add-to-list 'auto-mode-alist `("\\.scss.erb\\'" . scss-mode)) ;(add-to-list 'auto-mode-alist `("\\.scss.erb\\'" . scss-mode))
(add-to-list 'auto-mode-alist '("\\.html\\'" . web-mode))
(use-package! web-mode (use-package! web-mode
:mode "\\.phtml\\'" :mode "\\.phtml\\'"
:mode "\\.tpl\\.php\\'" :mode "\\.tpl\\.php\\'"
@ -853,6 +854,9 @@ Version 2019-11-04 2021-02-16"
:mode "\\.djhtml\\'" :mode "\\.djhtml\\'"
) )
(after! lsp-mode
(setq lsp-disabled-clients '(typeprof-ls)))
(use-package! adoc-mode ; Asciidoc, a md alternative (use-package! adoc-mode ; Asciidoc, a md alternative
:mode "\\.adoc\\'" :mode "\\.adoc\\'"
) )

View File

@ -155,7 +155,7 @@
;;raku ; the artist formerly known as perl6 ;;raku ; the artist formerly known as perl6
;;rest ; Emacs as a REST client ;;rest ; Emacs as a REST client
rst ; ReST in peace rst ; ReST in peace
(ruby +rails +tree-sitter +rbenv) ; +lsp 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} (ruby +rails +tree-sitter +rbenv +lsp) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good ;;scala ; java, but good
;;scheme ; a fully conniving family of lisps ;;scheme ; a fully conniving family of lisps