iamcco / coc-vimlsp

viml language server
212 stars 7 forks source link

not 'nnoremap <silent>' but 'nnoremap <<silent>' #51

Open xvim64 opened 2 years ago

xvim64 commented 2 years ago

Describe the bug

not

nnoremap <silent>

but

nnoremap <<silent>

in vimscript

Reproduce the bug

set nocompatible
set runtimepath^=~/.vim/plugged/coc.nvim
filetype plugin indent on
syntax on
set hidden
set gfn=Consolas:h50

gvim -u mini.vim TEST.vim

Screenshots (optional)

https://user-images.githubusercontent.com/83569599/182274134-ac24fd8e-36a1-4c9d-ac6c-99f88c44b01f.mp4

chemzqm commented 2 days ago

The language serser should return textEdit to avoid such issue