GithubHelp home page GithubHelp logo

Comments (7)

mhartington avatar mhartington commented on August 28, 2024

What JS syntax files do you have in your rc file? Vim-javascript, yajs.vim, vim-jsx?

from oceanic-next.

betoharres avatar betoharres commented on August 28, 2024

This ones:

Plug 'mxw/vim-jsx'
Plug 'othree/yajs.vim'
Plug 'othree/html5.vim'
Plug 'othree/es.next.syntax.vim'
Plug 'HerringtonDarkholme/yats.vim'

from oceanic-next.

betoharres avatar betoharres commented on August 28, 2024

I had a hard time trying to make it highlight the way it was shown in old screenshots in the README of this repo, which made me add all the freakin' js syntax plugins. Now it seems that the screenshots of the theme has been updated.

btw, nice theme I really liked ( that's why I opened a issue instead of moving to another theme )

from oceanic-next.

mhartington avatar mhartington commented on August 28, 2024

Hmm , interesting. It looks like a syntax plugin is causing issues with jsx tags.
I'll see what I can do and figure it out. Thanks for the issue!

from oceanic-next.

betoharres avatar betoharres commented on August 28, 2024

Great to hear, thanks!
Also, I found out that disabling othree/yajs.vim make the redbox dissapear( but somehow it marks && with the redbox )

from oceanic-next.

mhartington avatar mhartington commented on August 28, 2024

So looks like the missing semi-colons at the end of each const declaration was the issue.
Noticed it when running it through prettier

jsx-oceanic-next

I'll note that this isn't technically and issue with oceanic-next, since the default syntax highlighting in vim would still mark this as an error .

from oceanic-next.

betoharres avatar betoharres commented on August 28, 2024

Well thanks a lot for looking into it even though it was not a problem of your theme, sorry about that 😳
I was running through this issue few months ago and never thought of try to add a semicolon because I got used to not add them anymore.

from oceanic-next.

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.