OmniSharp / omnisharp-vim

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

Nested snippets not functioning as expected. #667

Closed kalvinpearce closed 3 years ago

kalvinpearce commented 3 years ago

I am running into a bit of an issue where when I have let g:OmniSharp_want_snippet=1 the first snippet works correctly but if I try to nest them it won't complete the snippet and won't select the argument. Below is a screenshot of the first snippet working correctly followed by the next screenshot is what I get after doing another snippet inside the argument of the first snippet (using Debug.Log as an example).

I am not sure if this is through fault of my own or some sort of bug but I am using neovim (nightly build) with coc for completion. My nvim config can be found at https://github.com/kalvinpearce/nvim image image

nickspoons commented 3 years ago

I can reproduce this with coc but not with other autocompletion plugins like asyncomplete. It looks to me like a bug on coc's side.

kalvinpearce commented 3 years ago

Oh that makes more sense. Cheers for that and sorry I didn't think of that before. I'll go make an issue there