Updated ordering

This commit is contained in:
Sam Precious 2020-12-08 19:39:32 +00:00
parent 871096533f
commit 41b1a7800a
3 changed files with 10 additions and 11 deletions

View file

@ -15,16 +15,16 @@ LSP).
** Module Flags ** Module Flags
+ =+lsp= Enables omnisharp through LSP support (requires omnisharp). + =+lsp= Enables omnisharp through LSP support (requires omnisharp).
+ =+dotnet= Enables Dotnet transient interface with Sharper
+ =+unity= Enables special support for the [[https://unity.com/][Unity game engine]] (particularly, + =+unity= Enables special support for the [[https://unity.com/][Unity game engine]] (particularly,
support for HLSL shaders). support for HLSL shaders).
+ =+dotnet= Enables Dotnet transient interface with Sharper
** Plugins ** Plugins
+ [[https://github.com/josteink/csharp-mode][csharp-mode]] + [[https://github.com/josteink/csharp-mode][csharp-mode]]
+ [[https://github.com/omajid/csproj-mode][csproj-mode]] + [[https://github.com/omajid/csproj-mode][csproj-mode]]
+ [[https://github.com/sebasmonia/sharper][sharper]] (=+dotnet=)
+ [[https://github.com/OmniSharp/omnisharp-emacs][omnisharp]]* (not =+lsp=) + [[https://github.com/OmniSharp/omnisharp-emacs][omnisharp]]* (not =+lsp=)
+ [[https://github.com/midnightSuyama/shader-mode][shader-mode]]* (=+unity=) + [[https://github.com/midnightSuyama/shader-mode][shader-mode]]* (=+unity=)
+ [[https://github.com/sebasmonia/sharper][sharper]] (=+dotnet=)
* Prerequisites * Prerequisites
This module needs: This module needs:

View file

@ -23,12 +23,6 @@ or terminating simple string."
(unless (eq major-mode 'csharp-mode) (unless (eq major-mode 'csharp-mode)
(apply orig-fn args)))) (apply orig-fn args))))
(use-package! sharper
:when (featurep! +dotnet)
:bind
("C-c n" . sharper-main-transient))
(use-package! omnisharp (use-package! omnisharp
:unless (featurep! +lsp) :unless (featurep! +lsp)
:commands omnisharp-install-server :commands omnisharp-install-server
@ -79,3 +73,8 @@ or terminating simple string."
(def-project-mode! +csharp-unity-mode (def-project-mode! +csharp-unity-mode
:modes '(csharp-mode shader-mode) :modes '(csharp-mode shader-mode)
:files (and "Assets" "Library/MonoManager.asset" "Library/ScriptMapper"))) :files (and "Assets" "Library/MonoManager.asset" "Library/ScriptMapper")))
(use-package! sharper
:when (featurep! +dotnet)
:bind
("C-c d" . sharper-main-transient))

View file

@ -2,10 +2,10 @@
;;; lang/csharp/packages.el ;;; lang/csharp/packages.el
(package! csharp-mode :pin "49168293a28aaaf84b9655fe1b2abe402c5e2ee1") (package! csharp-mode :pin "49168293a28aaaf84b9655fe1b2abe402c5e2ee1")
(when (featurep! +dotnet)
(package! sharper :pin "d610b839dbb907cc0a49b7edfe7fe39aa3f9dd6d"))
(package! csproj-mode :pin "a7f0f4610c976a28c41b9b8299892f88b5d0336c") (package! csproj-mode :pin "a7f0f4610c976a28c41b9b8299892f88b5d0336c")
(unless (featurep! +lsp) (unless (featurep! +lsp)
(package! omnisharp :pin "e26ff8b8d34a247cd4a93be5d62a5f21859b7b57")) (package! omnisharp :pin "e26ff8b8d34a247cd4a93be5d62a5f21859b7b57"))
(when (featurep! +unity) (when (featurep! +unity)
(package! shader-mode :pin "d7dc8d0d6fe8914e8b6d5cf2081ad61e6952359c")) (package! shader-mode :pin "d7dc8d0d6fe8914e8b6d5cf2081ad61e6952359c"))
(when (featurep! +dotnet)
(package! sharper :pin "d610b839dbb907cc0a49b7edfe7fe39aa3f9dd6d"))