branch: master
commit 4004c7f3ccd4f2fdede71f1b82216e93dbbf6826
Merge: a4e14ed 3b5415a
Author: Dmitry Gutov <dgu...@yandex.ru>
Commit: GitHub <nore...@github.com>

    Merge pull request #748 from nikital/tng-dont-require-match
    
    company-tng: default config: Disable company-require-match
---
 company-tng.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/company-tng.el b/company-tng.el
index fd5646f..46592da 100644
--- a/company-tng.el
+++ b/company-tng.el
@@ -60,6 +60,9 @@
 ;; candidates. You also need to decide which keys to unbind, depending
 ;; on whether you want them to do the Company action or the default
 ;; Emacs action (for example C-s or C-w).
+;;
+;; We recommend to disable `company-require-match' to allow free typing at any
+;; point.
 
 ;;; Code:
 
@@ -104,6 +107,7 @@ confirm the selection and finish the completion."
 ;;;###autoload
 (defun company-tng-configure-default ()
   "Applies the default configuration to enable company-tng."
+  (setq company-require-match nil)
   (setq company-frontends '(company-tng-frontend
                             company-pseudo-tooltip-frontend
                             company-echo-metadata-frontend))

Reply via email to