aboutsummaryrefslogtreecommitdiffstats
path: root/oni-company.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-03-02 10:01:35 -0800
committerGravatar Tom Willemse2020-03-02 10:01:35 -0800
commit2a011589f1a0970c2bd7cf0b2a7ed6ee87f0dda0 (patch)
tree431ac30d1d355d3cc6407c6fb622bc1ed6108c1a /oni-company.el
parent742f8b4891fb7fcbd942b3e6a434d812c563fda2 (diff)
downloademacs-config-2a011589f1a0970c2bd7cf0b2a7ed6ee87f0dda0.tar.gz
emacs-config-2a011589f1a0970c2bd7cf0b2a7ed6ee87f0dda0.zip
Stop company-dabbrev from changing the completion's case
Diffstat (limited to 'oni-company.el')
-rw-r--r--oni-company.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/oni-company.el b/oni-company.el
index 954dda7..23b7ec3 100644
--- a/oni-company.el
+++ b/oni-company.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2020.0228.151952
+;; Version: 2020.0302.092855
;; Package-Requires: (company oni-prescient company-posframe diminish company-prescient)
;; This program is free software; you can redistribute it and/or modify
@@ -30,6 +30,7 @@
(require 'company-dabbrev)
(require 'company-posframe)
(require 'company-prescient)
+(require 'company-dabbrev)
(require 'diminish)
(defun oni-company--enable-posframe (_)
@@ -39,6 +40,7 @@
(remove-hook 'company-completion-started-hook
'oni-company--enable-posframe)))
+(setq company-dabbrev-downcase nil)
(setq company-dabbrev-ignore-case nil)
(setq company-idle-delay 0)
(setq company-minimum-prefix-length 1)