浏览代码

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


正在加载...
取消
保存