vim-es6 icon indicating copy to clipboard operation
vim-es6 copied to clipboard

vim-es6 doesn't indent properly regexes containing dot star .*

Open edi9999 opened this issue 9 years ago • 0 comments

Hi,

with the following code :

function f() {
    const r = /foo.*/;
    console.log(r);
}

If you run gg=G to reindent the full file, you will get :

function f() {
    const r = /foo.*/;
console.log(r);
}

which is obviously not expected

edi9999 avatar Sep 26 '16 16:09 edi9999