From cc8de9b58eddad427c2d190ff9cdc9224c037ba0 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 24 Feb 2020 23:11:41 -0800 Subject: Add prescient --- oni-company.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'oni-company.el') diff --git a/oni-company.el b/oni-company.el index edec938..49f6c5f 100644 --- a/oni-company.el +++ b/oni-company.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2019.0904.210401 -;; Package-Requires: (company company-posframe diminish) +;; Version: 2020.0224.231120 +;; Package-Requires: (company oni-prescient company-posframe diminish company-prescient) ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ (require 'company) (require 'company-dabbrev) (require 'company-posframe) +(require 'company-prescient) (require 'diminish) (defun oni-company--enable-posframe (_) @@ -49,6 +50,8 @@ (add-hook 'company-completion-started-hook 'oni-company--enable-posframe) +(company-prescient-mode) + (diminish 'company-mode) (diminish 'company-posframe-mode) -- cgit v1.2.3-54-g00ecf