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

1
.gitignore vendored
View file

@ -22,3 +22,4 @@ ac-comphist.dat
/straight /straight
!straight/versions/default.el !straight/versions/default.el
/speed-type /speed-type
/tutorial

View file

@ -99,7 +99,7 @@
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(font-lock-constant-face ((((type graphic)) (:foreground "#dfaf8f")) (((min-colors 256)) (:foreground "brightred")) (t (:foreground "brightred")))) '(font-lock-constant-face ((((type graphic)) (:foreground "#dfaf8f")) (((min-colors 256)) (:foreground "brightred")) (t (:foreground "brightred"))))
'(markdown-code-face ((t (:inherit fixed-pitch :family "JuliaMono")))) '(markdown-code-face ((t (:inherit fixed-pitch :family "Rec Mono Semicasual"))))
'(mmm-default-submode-face ((t nil)))) '(mmm-default-submode-face ((t nil))))
;; Restore GC to normal, but still high ;; Restore GC to normal, but still high

View file

@ -24,17 +24,13 @@
;; Do not insert magic encoding comment at the begining of each file ;; Do not insert magic encoding comment at the begining of each file
(setq ruby-insert-encoding-magic-comment nil) (setq ruby-insert-encoding-magic-comment nil)
(lsp)
;; Company list override ;; Company list override
(add-to-list (make-local-variable 'company-backends) (add-to-list (make-local-variable 'company-backends)
'(company-capf company-yasnippet))) '(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 '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 'rspec-mode)
(add-hook 'enh-ruby-mode-hook 'ruby-end-mode) (add-hook 'enh-ruby-mode-hook 'ruby-end-mode)
(eval-after-load 'rspec-mode (eval-after-load 'rspec-mode

View file

@ -22,6 +22,12 @@
:straight t :straight t
:defer t) :defer t)
(use-package company-box
:straight t
:defer t
:after company
:hook (((company-mode) . company-box-mode)))
(global-company-mode t) (global-company-mode t)
(yas-global-mode t) (yas-global-mode t)

View file

@ -42,9 +42,10 @@
;; Call LSP-UI hook ;; Call LSP-UI hook
(+custom-set-lsp-ui-font-hook)) (+custom-set-lsp-ui-font-hook))
(defvar +custom-font "Iosevka Term") ;; (defvar +custom-font "Iosevka Term")
;; (defvar +custom-font "JetBrains Mono") ;; (defvar +custom-font "JetBrains Mono")
;; (defvar +custom-font "JuliaMono") ;; (defvar +custom-font "JuliaMono")
(defvar +custom-font "Rec Mono Semicasual")
;;(defvar +custom-font "Victor Mono") ;;(defvar +custom-font "Victor Mono")
;; (defvar +custom-font "IBM Plex Mono") ;; (defvar +custom-font "IBM Plex Mono")
(defvar +custom-font-size 14) (defvar +custom-font-size 14)

View file

@ -18,7 +18,7 @@
(unbind-key "C-M-i" flyspell-mode-map))) (unbind-key "C-M-i" flyspell-mode-map)))
(use-package flyspell-correct :straight t :after flyspell :defer t) (use-package flyspell-correct :straight t :after flyspell :defer t)
(use-package flyspell-correct-ivy :after flyspell-correct) (use-package flyspell-correct-ivy :straight :after flyspell-correct :defer t)
(provide '+custom-pkg-ispell) (provide '+custom-pkg-ispell)
;;; ispell.el ends here ;;; ispell.el ends here

View file

@ -41,7 +41,7 @@
"$HOME/.emacs.d/themes/base16-harmonic-light-modified.el") "$HOME/.emacs.d/themes/base16-harmonic-light-modified.el")
(sml/apply-theme 'respectful) (sml/apply-theme 'respectful)
(enable-theme 'base16-zenburn-modified) (enable-theme 'base16-harmonic-light-modified)
(provide '+custom-pkg-themes) (provide '+custom-pkg-themes)
;;; themes.el ends here ;;; themes.el ends here