Giter Club home page Giter Club logo

Comments (7)

mxw avatar mxw commented on July 16, 2024

No plans to add support for this myself. If you want to, definitely make a pull request—otherwise this is a wontfix.

from vim-jsx.

KyleAMathews avatar KyleAMathews commented on July 16, 2024

Actually this should be its own project which I can jump on.

I've never done anything with vim plugins before. I'm assuming I can mostly just copy what you've done here? Any potential gotchas I should look for while doing the modifications?

from vim-jsx.

mxw avatar mxw commented on July 16, 2024

Sure, that works too. This is a pretty simple bundle and there aren't many tricks, but you should make sure you know enough Vimscript and vim syntax rules to read the Coffeescript syntax files and understand where to put the glue. The indenting is a bit more finnicky and depends a tad on how Coffeescript indenting works, so it may be less copypasta-able than the syntax.

It's hard to get totally right without picking up Vimscript, but if you're willing to do that, it shouldn't be too troublesome.

from vim-jsx.

mtscout6 avatar mtscout6 commented on July 16, 2024

@KyleAMathews Have you started up on this if not I plan to here over the next few days?

from vim-jsx.

KyleAMathews avatar KyleAMathews commented on July 16, 2024

I haven't. Feel free to jump on it. Ping me when you have something working and I'll test it.

from vim-jsx.

mtscout6 avatar mtscout6 commented on July 16, 2024

Still working on it, but the repo is created: https://github.com/mtscout6/vim-cjsx

from vim-jsx.

mtscout6 avatar mtscout6 commented on July 16, 2024

I think i've got the syntax highlighting looking good now if you want to take a look. I'm not planning to tackle the indentation right now, but I'll take a pull request.

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.