Skip to content

Commit

Permalink
feat: Add company-box mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
Baishampayan Ghose committed Apr 27, 2022
1 parent 3d36739 commit a53ee25
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
13 changes: 9 additions & 4 deletions conf/core.el
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
:straight t
:demand t)

(blackout 'auto-fill-mode)
(blackout 'eldoc-mode)
(blackout 'cider-mode)
(blackout 'clojure-mode "CLJ")
(blackout 'emacs-lisp-mode "EL")

(use-package company
:straight t
:config (add-hook 'prog-mode-hook 'company-mode)
Expand All @@ -56,16 +62,15 @@
(setq company-require-match #'company-explicit-action-p)
(setq company-tooltip-align-annotations t))

(use-package company-box
:straight t
:hook (company-mode . company-box-mode))

(use-package company-prescient
:straight t
:after (company prescient)
:init (company-prescient-mode +1))

(blackout 'auto-fill-mode)
(blackout 'eldoc-mode)
(blackout 'emacs-lisp-mode "EL")

(use-package use-package-ensure-system-package
:straight t)

Expand Down
1 change: 1 addition & 0 deletions early-init.el
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

;; prevent unwanted runtime package builds
(setq comp-deferred-compilation nil)
(setq native-comp-async-report-warnings-errors nil)

(add-hook #'after-init-hook
#'(lambda ()
Expand Down
2 changes: 1 addition & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
(time-subtract after-init-time before-init-time)))
gcs-done))

(setq initial-scratch-message (concat ";; " (bg/display-startup-time)))
(setq initial-scratch-message (concat ";; " (bg/display-startup-time) "\n;; "))

;;; init.el ends here

0 comments on commit a53ee25

Please sign in to comment.