[emacs] No more omnisharp

This commit is contained in:
John Doty 2023-09-04 08:10:45 -07:00
parent 0de7999867
commit 4ff55e1aaf
2 changed files with 12 additions and 11 deletions

View file

@ -618,21 +618,21 @@ Or, uh, Objective C, I guess."
(require 'prettysharp)
(prettysharp-mode)
(turn-on-font-lock)
(omnisharp-mode)
(c-set-style "ms-csharp"))
:mode "\\.cs\\'"
:config
(use-package omnisharp :ensure t
:commands omnisharp-mode
:bind (:map omnisharp-mode-map
([remap xref-find-definitions] . omnisharp-go-to-definition)
([remap xref-find-references] . omnisharp-find-usages)
;; `xref-pop-marker-stack' works as expected.
)
:config
(eval-after-load 'company '(add-to-list 'company-backends 'company-omnisharp)))
;; 2023-09-03 Stop using omnisharp
;; (use-package omnisharp :ensure t
;; :commands omnisharp-mode
;; :bind (:map omnisharp-mode-map
;; ([remap xref-find-definitions] . omnisharp-go-to-definition)
;; ([remap xref-find-references] . omnisharp-find-usages)
;; ;; `xref-pop-marker-stack' works as expected.
;; )
;; :config
;; (eval-after-load 'company '(add-to-list 'company-backends 'company-omnisharp)))
(use-package prettysharp
:commands prettysharp-mode