1
0
Fork 0

[oni-company] Use tab for either completion or indentation

This commit is contained in:
Tom Willemse 2022-12-13 07:09:59 -08:00
parent 8fb6beda45
commit 244c2797b8

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 2021.0727.205633
;; Version: 2022.1211.200707
;; Package-Requires: (company oni-prescient company-posframe diminish company-prescient)
;; This program is free software; you can redistribute it and/or modify
@ -55,6 +55,8 @@
(setf (car (member 'company-capf company-backends))
'(company-capf :with company-yasnippet)))
(define-key company-mode-map (kbd "TAB") #'company-indent-or-complete-common)
(add-hook 'company-completion-started-hook 'oni-company--enable-posframe)
(company-prescient-mode)