Add treesitter and Ruby

This commit is contained in:
Maciej 2023-01-27 14:10:49 +02:00
parent 0191a7ebd9
commit 2dd1affaf0
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
3 changed files with 9 additions and 3 deletions

View file

@ -25,8 +25,6 @@
;; Do not insert magic encoding comment at the begining of each file
(setq ruby-insert-encoding-magic-comment nil)
(lsp)
;; Company list override
(add-to-list (make-local-variable 'company-backends)
'(company-capf company-yasnippet)))
@ -37,6 +35,7 @@
(eval-after-load 'rspec-mode
'(rspec-install-snippets))
(add-hook 'enh-ruby-mode-hook 'activate-ruby-mode)
(add-hook 'enh-ruby-mode-hook 'lsp-deferred)
(provide '+custom-lang-ruby)
;;; ruby.el ends here