Minor usability issues
This commit is contained in:
parent
95a2862c06
commit
fc884f7283
@ -120,6 +120,12 @@
|
||||
;; Highlight lines that are too long in whitespace mode.
|
||||
whitespace-line-column fill-column)
|
||||
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Treat CamelCase as separate words.
|
||||
;; --------------------------------------------------------------------------
|
||||
|
||||
(global-subword-mode)
|
||||
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Completion help.
|
||||
;; --------------------------------------------------------------------------
|
||||
|
@ -19,7 +19,8 @@
|
||||
|
||||
(defvar emodule/em-modeline-packages
|
||||
|
||||
'(doom-modeline)
|
||||
'(anzu
|
||||
doom-modeline)
|
||||
|
||||
)
|
||||
|
||||
@ -37,6 +38,11 @@
|
||||
:config
|
||||
(setq-default doom-modeline-height 23)
|
||||
|
||||
;; Set anzu-mode
|
||||
(use-package anzu
|
||||
:config
|
||||
(global-anzu-mode 1))
|
||||
|
||||
;; Add perspective to modeline
|
||||
(doom-modeline-def-segment perspective-name
|
||||
"Perspectives list and selection. Requires `persp-mode' to be enabled."
|
||||
|
@ -61,10 +61,13 @@
|
||||
:hook
|
||||
(after-init . global-company-mode)
|
||||
:config
|
||||
(setq company-idle-delay 0
|
||||
company-minimum-prefix-length 1)
|
||||
;; For this to correctly complete headers, need to add all include paths to
|
||||
;; `company-c-headers-path-system'.
|
||||
(add-to-list 'company-backends 'company-c-headers)
|
||||
(setq company-backends (delete 'company-clang company-backends)))
|
||||
(setq company-backends (delete 'company-clang company-backends))
|
||||
(setq company-backends (delete 'company-dabbrev company-backends)))
|
||||
|
||||
;; Functions args -----------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user