~CSharp indenting

This commit is contained in:
oreodave
2019-07-24 12:07:56 +01:00
parent fcfa344db8
commit 89e1e2ec37

View File

@@ -57,17 +57,16 @@ become my C one soon!
(setq omnisharp-server-executable-path "~/bin/omnisharp/run")
(add-hook 'csharp-mode-hook '(lambda() (setq c-basic-offset 4))) ; Hook for csharp setting variables
; C# Keybinds
(map!
:map csharp-mode-map
:localleader
:desc "Format buffer" "=" 'omnisharp-code-format-entire-file
(:prefix "t"
:desc "Unit Test This" "t" 'omnisharp-unit-test-at-point
:desc "Unit Test Last" "l" 'omnisharp-unit-test-last
:desc "Unit Test All" "b" 'omnisharp-unit-test-buffer
)
)
(map! ; CSharp Keybinds
:map csharp-mode-map
:localleader
:desc "Format buffer" "=" 'omnisharp-code-format-entire-file
(:prefix "t"
:desc "Unit Test This" "t" 'omnisharp-unit-test-at-point
:desc "Unit Test Last" "l" 'omnisharp-unit-test-last
:desc "Unit Test All" "b" 'omnisharp-unit-test-buffer
)
)
)
#+END_SRC