Add company-box-mode

This commit is contained in:
Maciej 2022-02-28 13:08:04 +02:00
parent 0a3d9ef245
commit f3af7a8449
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
7 changed files with 15 additions and 11 deletions

View file

@ -24,17 +24,13 @@
;; 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)))
;; Set specific ctags command
(setq-local ctags/refresh-command
(format "ctags -e -R --languages=ruby -f %sTAGS %s. $(bundle list --paths)"
(projectile-project-root) (projectile-project-root)))
(add-hook 'ruby-mode-hook 'enh-ruby-mode)
(add-hook 'enh-ruby-mode-hook 'lsp-deferred)
(add-hook 'enh-ruby-mode-hook 'rspec-mode)
(add-hook 'enh-ruby-mode-hook 'ruby-end-mode)
(eval-after-load 'rspec-mode