Browse Source

emacs.el: Experimentally add configs for company.el

pull/15/head
10sr 9 years ago
parent
commit
02efe07cab
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      emacs.el

+ 7
- 0
emacs.el View File

@@ -854,6 +854,13 @@ IF OK-IF-ALREADY-EXISTS is true force download."
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; some modes and hooks

;; http://qiita.com/sune2/items/b73037f9e85962f5afb7
(global-company-mode)
(set-variable 'company-idle-delay 0.5)
(set-variable 'company-minimum-prefix-length 2)
(set-variable 'company-selection-wrap-around t)


;; https://github.com/lunaryorn/flycheck
(when (safe-require-or-eval 'flycheck)
(call-after-init 'global-flycheck-mode))


Loading…
Cancel
Save