[emacs] No more omnisharp
This commit is contained in:
parent
0de7999867
commit
4ff55e1aaf
2 changed files with 12 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue