omnisharp: add keybinds and csharp-mode hook
This commit is contained in:
parent
2e54d3bc33
commit
cbb81957f2
1 changed files with 6 additions and 2 deletions
|
@ -7,12 +7,16 @@
|
|||
|
||||
(use-package omnisharp
|
||||
:after csharp-mode
|
||||
:init (add-hook! csharp-mode 'omnisharp-mode)
|
||||
:config
|
||||
(setq omnisharp-server-executable-path
|
||||
"~/Dropbox/projects/lib/Omnisharp/server/OmniSharp/bin/Debug/OmniSharp.exe")
|
||||
"~/Dropbox/projects/lib/Omnisharp/server/OmniSharp/bin/Debug/OmniSharp.exe"
|
||||
omnisharp-auto-complete-want-documentation nil)
|
||||
|
||||
(bind! :map omnisharp-mode-map
|
||||
:n "gd" 'omnisharp-go-to-definition)
|
||||
:n "gd" 'omnisharp-go-to-definition
|
||||
:n "\\u" 'omnisharp-find-usages
|
||||
:n "\\i" 'omnisharp-find-implementations)
|
||||
|
||||
(after! company
|
||||
(add-company-backend! csharp-mode (omnisharp))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue