1
0
Fork 0

Include company-yasnippet with omnisharp completion

This commit is contained in:
Tom Willemse 2020-02-29 13:30:39 -08:00
parent 74fba5dd0c
commit fa2264a94c

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2020.0205.224224 ;; Version: 2020.0229.133028
;; Package-Requires: (csharp-mode omnisharp oni-company oni-flycheck) ;; Package-Requires: (csharp-mode omnisharp oni-company oni-flycheck)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -82,7 +82,8 @@
(auto-fill-mode)) (auto-fill-mode))
(with-eval-after-load 'company (with-eval-after-load 'company
(add-to-list 'company-backends 'company-omnisharp)) (add-to-list 'company-backends
'(company-omnisharp :with company-yasnippet)))
(add-hook 'csharp-mode-hook 'company-mode) (add-hook 'csharp-mode-hook 'company-mode)
(add-hook 'csharp-mode-hook 'electric-indent-local-mode) (add-hook 'csharp-mode-hook 'electric-indent-local-mode)