Bladeren bron

Add condition for company invocation

pull/15/head
10sr 8 jaren geleden
bovenliggende
commit
9800415cf6
1 gewijzigde bestanden met toevoegingen van 5 en 4 verwijderingen
  1. +5
    -4
      emacs.el

+ 5
- 4
emacs.el Bestand weergeven

@@ -861,10 +861,11 @@ 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)
(when (safe-require-or-eval 'company)
(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


Laden…
Annuleren
Opslaan