Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
edi9999 opened this issue Sep 26, 2016 · 0 comments
Open

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

edi9999 opened this issue Sep 26, 2016 · 0 comments

Comments

@edi9999
Copy link

edi9999 commented Sep 26, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant