This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+completion/auto-completion/config.el
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00

61 lines
2.2 KiB
EmacsLisp

;;; config.el --- Auto-completion configuration File for Spacemacs
;;
;; Copyright (c) 2012-2017 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;; Company -------------------------------------------------------------------
(defvar spacemacs-default-company-backends
'((company-dabbrev-code company-gtags company-etags company-keywords)
company-files company-dabbrev)
"The list of default company backends used by spacemacs.
This variable is used to configure mode-specific company backends in spacemacs.
Backends in this list will always be active in these modes, as well as any
backends added by individual spacemacs layers.")
(defvar-local auto-completion-front-end 'company
"Which auto-completion front end to use.")
(defvar auto-completion-return-key-behavior 'complete
"What the RET key should do when auto-completion menu is active.
Possible values are `complete' or `nil'.")
(defvar auto-completion-tab-key-behavior 'cycle
"What the TAB key should do when auto-completion menu is active.
Possible values are `complete', `cycle' or `nil'.")
(defvar auto-completion-complete-with-key-sequence nil
"Provide a key sequence (string) to complete the current
selection.")
(defvar auto-completion-complete-with-key-sequence-delay 0.1
"Timeout (seconds) when waiting for the second key of
`auto-completion-complete-with-key-sequence'.")
(defvar auto-completion-enable-snippets-in-popup nil
"If non nil show snippets in the auto-completion popup.")
(defvar auto-completion-enable-sort-by-usage nil
"If non nil suggestions are sorted by how often they are used.")
(defvar auto-completion-enable-help-tooltip nil
"If non nil the docstring appears in a tooltip.
If set to `manual', help tooltip appears only when invoked
manually.")
(defvar company-mode-completion-cancel-keywords
'("do"
"then"
"begin"
"case")
"Keywords on which to cancel completion so that you can use RET
to complet without blocking common line endings.")
(defvar auto-completion-private-snippets-directory nil
"Configurable private snippets directory.")