Open strange opened 5 years ago
Yeah this bug is super destructive because often it happens in the middle of an insertion and u
won't undo it the way you'd usually want it to.
Any updates on this issue? Looks like something was merged in but this is still broken for me.
.vimrc:
call plug#begin($HOME . '/.vim/plugged')
Plug 'maralla/completor.vim', { 'do': 'make js' }
let g:completor_node_binary = '/usr/local/bin/node'
call plug#end()
Yeah, the merged PR fixed some cases of it, but not all
Can confirm the issue is still present
Description
Arguments are replaced when a string is present as an argument to a function during completion in JavaScript files.
Steps to reproduce
Open
test.js
and enter the following:The pum is displayed and I select
longVariableName
.Expected outcome
longVariableName
is inserted as an argument and the editor displays the following:Actual outcome
longVariableName
is inserted, but all other arguments are removed:It seems to erase back to the first quotation mark of the first string argument. Other arguments such as variable names, integers, booleans etc are unaffected.
Context