From ab3bbb02abd3680b45b764738f796e7fa4445c2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20D=C3=A9saulniers?= Date: Thu, 14 Jul 2022 22:27:52 -0400 Subject: [PATCH] vim/omnisharp: workaround for working under WSL2 --- vim/plugins-config/omnisharp.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vim/plugins-config/omnisharp.vim b/vim/plugins-config/omnisharp.vim index 98f2551..9b35a44 100644 --- a/vim/plugins-config/omnisharp.vim +++ b/vim/plugins-config/omnisharp.vim @@ -1,4 +1,9 @@ +" Solution de contournement~[2] pour omnisharp qui ne marche pas dans WSL2~[1]. +" [1]: https://github.com/OmniSharp/omnisharp-vim/issues/706 +" [2]: https://github.com/OmniSharp/omnisharp-vim/issues/706#issuecomment-882047918 +let g:OmniSharp_server_path = "/mnt/c/Users/sdesaulniers/prog/omnisharp-wsl2-workaround/bin/Debug/net6.0/win-x64/omnisharp-wsl2-workaround.exe" + let g:OmniSharp_highlighting = 0 let g:OmniSharp_translate_cygwin_wsl = 1 let g:OmniSharp_loglevel = 'debug'