[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

@ -58,7 +58,7 @@
'(org-odd-levels-only t)
'(org-todo-keywords '((sequence "TODO" "|" "DONE" "ABANDONED" "DEFERRED")))
'(package-selected-packages
'(omnisharp vterm lsp-pyright blacken nyan-mode earthfile-mode compat adaptive-wrap terraform-mode deadgrep protobuf-mode bazel howm python-mode color-theme-sanityinc-solarized monokai-theme rust-mode tide typescript-mode modus-themes tree-sitter flycheck-rust eglot ink-mode prettier-js zig-mode esup gnu-elpa-keyring-update lsp-hack hack-mode filladapt lsp-ui yaml-mode wgrep fsharp-mode company-lsp cquery mustache-mode clang-format projectile dash-functional mocha add-node-modules-path rjsx-mode xref-js2 js2-refactor company omnisharp geiser cider clojure-mode graphviz-dot-mode multi-term xterm-color thrift markdown-mode tuareg merlin ag use-package flycheck dockerfile-mode js2-mode web-mode tss switch-window paredit magit lua-mode go-mode go-autocomplete exec-path-from-shell csharp-mode color-theme-monokai auto-complete auto-complete-nxml flymake flyspell json-mode popup ruby-mode company-jedi elm-mode monky color-theme-sanityinc-tomorrow))
'(vterm lsp-pyright blacken nyan-mode earthfile-mode compat adaptive-wrap terraform-mode deadgrep protobuf-mode bazel howm python-mode color-theme-sanityinc-solarized monokai-theme rust-mode tide typescript-mode modus-themes tree-sitter flycheck-rust eglot ink-mode prettier-js zig-mode esup gnu-elpa-keyring-update lsp-hack hack-mode filladapt lsp-ui yaml-mode wgrep fsharp-mode company-lsp cquery mustache-mode clang-format projectile dash-functional mocha add-node-modules-path rjsx-mode xref-js2 js2-refactor company geiser cider clojure-mode graphviz-dot-mode multi-term xterm-color thrift markdown-mode tuareg merlin ag use-package flycheck dockerfile-mode js2-mode web-mode tss switch-window paredit magit lua-mode go-mode go-autocomplete exec-path-from-shell color-theme-monokai auto-complete auto-complete-nxml flymake flyspell json-mode popup ruby-mode company-jedi elm-mode monky color-theme-sanityinc-tomorrow))
'(reb-re-syntax 'string)
'(rmail-mail-new-frame t)
'(safe-local-variable-values
@ -79,6 +79,7 @@
'(scroll-step 1)
'(sd-user-email "johndoty@microsoft.com")
'(sd-verbose nil)
'(sentence-end-double-space nil)
'(show-paren-mode t)
'(show-paren-style 'parenthesis)
'(tab-width 4)

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