Giter Club home page Giter Club logo

Comments (5)

mxw avatar mxw commented on July 16, 2024

You need to double-quote these strings; this is a wontfix for now (though feel free to submit a PR).

(I should probably document somewhere that this is a known problem...)

from vim-jsx.

zanesterling avatar zanesterling commented on July 16, 2024

So to be clear the solution is <p>"I'm an ugly tag!</p> ?

from vim-jsx.

mxw avatar mxw commented on July 16, 2024

<p>"I'm an ugly tag!"</p>

(Need to close the quote.)

I believe that this works—you might have to do <p>{"I'm an ugly tag!"}</p>, but IIRC, that has slightly different behavior w.r.t. whitespace. (I'm not a React/JSX expert, but somebody's gotta write the Vimscript :P)

from vim-jsx.

zanesterling avatar zanesterling commented on July 16, 2024

(Woops, typo.)

Gotcha. Thanks!

On Thu, Jun 18, 2015 at 5:49 PM, Max Wang [email protected] wrote:

"I'm an ugly tag!"

(Need to close the quote.)

I believe that this works—you might have to do

{"I'm an ugly tag!"}

,
but IIRC, that has slightly different behavior w.r.t. whitespace. (I'm not
a React/JSX expert, but somebody's gotta write the Vimscript :P)


Reply to this email directly or view it on GitHub
#51 (comment).

from vim-jsx.

artemave avatar artemave commented on July 16, 2024

This for me was a killer. Found the replacement that can cope https://github.com/jsx/jsx.vim

from vim-jsx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.