瀏覽代碼

Add condition for company invocation

pull/15/head
10sr 8 年之前
父節點
當前提交
9800415cf6
共有 1 個檔案被更改,包括 5 行新增4 行删除
  1. +5
    -4
      emacs.el

+ 5
- 4
emacs.el 查看文件

@@ -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


Loading…
取消
儲存