OmniSharp / omnisharp-vim

Vim omnicompletion (intellisense) and more for C#
http://www.omnisharp.net
MIT License
1.72k stars 168 forks source link

Failed to install omnisharp-roslyn server #699

Closed divekar closed 3 years ago

divekar commented 3 years ago
image

vimrc has -(M1 Mbp, macOS 11.4) Plug 'OmniSharp/omnisharp-vim' - to install using Plug

"OmniSharp let g:OmniSharp_highlighting = 3 let g:OmniSharp_selector_ui = 'fzf' " Use fzf.vim let g:OmniSharp_selector_findusages = 'fzf' " Use fzf.vim

" Use the stdio OmniSharp-roslyn server let g:OmniSharp_server_stdio = 1

" Set the type lookup function to use the preview window instead of echoing it let g:OmniSharp_typeLookupInPreview = 1

" Timeout in seconds to wait for a response from the server let g:OmniSharp_timeout = 5

nickspoons commented 3 years ago

Currently our installer doesn't know which omnisharp-roslyn version to install for an M1, or how to detect that OS. I don't have one to test with so some help would be appreciated.

What are the outputs of these commands?

divekar commented 3 years ago

uname -s Darwin

uname -m arm64

uname -o uname: illegal option -- o usage: uname [-amnprsv]

divekar commented 3 years ago

@nickspoons your script has no handling for arm64 yet - uname -m arm64

nickspoons commented 3 years ago

Let's see if that works for you, @bintr33

divekar commented 3 years ago

Yup that fixed the install issue. Thanks.