From 2a011589f1a0970c2bd7cf0b2a7ed6ee87f0dda0 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 2 Mar 2020 10:01:35 -0800 Subject: [PATCH] Stop company-dabbrev from changing the completion's case --- oni-company.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ;; 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)