包的加载配置如下 (defconst hdc-packages '(
company
;yasnippet
ac-clang
msvc
)
)
(defun hdc/post-init-company() (setq company-minimum-prefix-length 1) )
;(defun hdc/init-msvc () ; (use-package msvc) ; )
(defun hdc/init-ac-clang () (use-package ac-clang) )
(defun myname/init-msvc () (use-package msvc :config (setq w32-pipe-read-delay 0) (when (msvc-initialize) (msvc-flags-load-db :parsing-buffer-delete-p t) (add-hook 'c-mode-common-hook 'msvc-mode-on t) ) ) )