We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I reproduced this in neovim v0.4.3.
Steps to reproduce:
cat > init.vim <<EOF call plug#begin() Plug 'HerringtonDarkholme/yats.vim' call plug#end() set foldmethod=syntax EOF
cat > break-yats.tsx <<EOF describe("this breaks", () => { describe.each` field | value | fieldValue ${"foo"} | ${"bar"} | ${undefined} ${"baz"} | ${"bak"} | ${{ some: "prop" }} `( "when making complex default parameters around a nested test", ({ field, value, fieldValue = { [field]: testValue } }) => { it("breaks syntax highlighting in this test", () => { expect(something).toStrictEqual({ boz: value, ...fieldValue, }); }); } ); describe("breakage", () => { it("breaks syntax highlighting here", () => { expect(syntaxHighlighting).toBeBroken(); }); it("breaks syntax folding here", () => { expect(syntaxFolding).toBeBroken(); }); }); }); EOF
nvim -u init.vim break-yats.tsx
Observe that the folding is as follows:
Also observe that the syntax highlighting is as follows:
The folding should look like this:
Also the syntax highlighting should be as follows:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I reproduced this in neovim v0.4.3.
Steps to reproduce:
nvim -u init.vim break-yats.tsx
Observe that the folding is as follows:
Also observe that the syntax highlighting is as follows:
Expected behaviour:
The folding should look like this:
Also the syntax highlighting should be as follows:
The text was updated successfully, but these errors were encountered: