From 6365118c8015cde6ab57750f3f893e537ffaa96d Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Sat, 8 Oct 2022 16:54:10 +0200 Subject: [PATCH] config/doom: update modes for ruby --- .config/doom/config.el | 6 +++++- .config/doom/init.el | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index 32e75f7..d7de111 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -842,7 +842,8 @@ Version 2019-11-04 2021-02-16" (add-to-list 'auto-mode-alist '("\\.twee\\'" . twee-chapbook-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 :mode "\\.phtml\\'" :mode "\\.tpl\\.php\\'" @@ -853,6 +854,9 @@ Version 2019-11-04 2021-02-16" :mode "\\.djhtml\\'" ) +(after! lsp-mode + (setq lsp-disabled-clients '(typeprof-ls))) + (use-package! adoc-mode ; Asciidoc, a md alternative :mode "\\.adoc\\'" ) diff --git a/.config/doom/init.el b/.config/doom/init.el index 5cab621..c6b74f0 100644 --- a/.config/doom/init.el +++ b/.config/doom/init.el @@ -155,7 +155,7 @@ ;;raku ; the artist formerly known as perl6 ;;rest ; Emacs as a REST client 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() ;;scala ; java, but good ;;scheme ; a fully conniving family of lisps