Add company-box-mode
This commit is contained in:
parent
0a3d9ef245
commit
f3af7a8449
7 changed files with 15 additions and 11 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -22,3 +22,4 @@ ac-comphist.dat
|
|||
/straight
|
||||
!straight/versions/default.el
|
||||
/speed-type
|
||||
/tutorial
|
||||
|
|
|
|||
2
init.el
2
init.el
|
|
@ -99,7 +99,7 @@
|
|||
;; Your init file should contain only one such instance.
|
||||
;; 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"))))
|
||||
'(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))))
|
||||
|
||||
;; Restore GC to normal, but still high
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -22,6 +22,12 @@
|
|||
:straight t
|
||||
:defer t)
|
||||
|
||||
(use-package company-box
|
||||
:straight t
|
||||
:defer t
|
||||
:after company
|
||||
:hook (((company-mode) . company-box-mode)))
|
||||
|
||||
(global-company-mode t)
|
||||
(yas-global-mode t)
|
||||
|
||||
|
|
|
|||
|
|
@ -42,10 +42,11 @@
|
|||
;; Call LSP-UI 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 "JuliaMono")
|
||||
;; (defvar +custom-font "Victor Mono")
|
||||
(defvar +custom-font "Rec Mono Semicasual")
|
||||
;;(defvar +custom-font "Victor Mono")
|
||||
;; (defvar +custom-font "IBM Plex Mono")
|
||||
(defvar +custom-font-size 14)
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
(unbind-key "C-M-i" flyspell-mode-map)))
|
||||
|
||||
(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)
|
||||
;;; ispell.el ends here
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
"$HOME/.emacs.d/themes/base16-harmonic-light-modified.el")
|
||||
|
||||
(sml/apply-theme 'respectful)
|
||||
(enable-theme 'base16-zenburn-modified)
|
||||
(enable-theme 'base16-harmonic-light-modified)
|
||||
|
||||
(provide '+custom-pkg-themes)
|
||||
;;; themes.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue