Stop company-dabbrev from changing the completion's case
This commit is contained in:
parent
742f8b4891
commit
2a011589f1
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2020.0228.151952
|
;; Version: 2020.0302.092855
|
||||||
;; Package-Requires: (company oni-prescient company-posframe diminish company-prescient)
|
;; Package-Requires: (company oni-prescient company-posframe diminish company-prescient)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -30,6 +30,7 @@
|
||||||
(require 'company-dabbrev)
|
(require 'company-dabbrev)
|
||||||
(require 'company-posframe)
|
(require 'company-posframe)
|
||||||
(require 'company-prescient)
|
(require 'company-prescient)
|
||||||
|
(require 'company-dabbrev)
|
||||||
(require 'diminish)
|
(require 'diminish)
|
||||||
|
|
||||||
(defun oni-company--enable-posframe (_)
|
(defun oni-company--enable-posframe (_)
|
||||||
|
@ -39,6 +40,7 @@
|
||||||
(remove-hook 'company-completion-started-hook
|
(remove-hook 'company-completion-started-hook
|
||||||
'oni-company--enable-posframe)))
|
'oni-company--enable-posframe)))
|
||||||
|
|
||||||
|
(setq company-dabbrev-downcase nil)
|
||||||
(setq company-dabbrev-ignore-case nil)
|
(setq company-dabbrev-ignore-case nil)
|
||||||
(setq company-idle-delay 0)
|
(setq company-idle-delay 0)
|
||||||
(setq company-minimum-prefix-length 1)
|
(setq company-minimum-prefix-length 1)
|
||||||
|
|
Loading…
Reference in a new issue