Comments (5)
@BerkeleyTrue I have added this feature, it's disabled by default, you can add let g:vim_jsx_pretty_highlight_close_tag = 1
in your vimrc to enable this feature.
Please let me know if you have any questions.
from vim-jsx-pretty.
Sorry about that. I refactored this plugin to make the highlighting more reasonable. Close tag highlighting is a cool feature, I will try to add it back if possible.
from vim-jsx-pretty.
Thank you report.
It's a new specification of vim-jsx-pretty for Fragments syntax (<> </>)
.
So, can't reproduce syntax highlight before is implemented to vim-jsx-pretty a Fragments syntax.
|--------------|--------------------|
| jsxPunct | `<tag id="sample">`|
| | `~________________`|
|--------------|--------------------|
| jsxTagName | `<tag id="sample">`|
| | `_~~~_____________`|
|--------------|--------------------|
i will update help and document. sorry.
from vim-jsx-pretty.
@yuezk woot! thanks!
from vim-jsx-pretty.
@yuezk works like a charm. Thanks again for the fix.
from vim-jsx-pretty.
Related Issues (20)
- [Question] Using Emmet with vim-jsx-pretty HOT 2
- typescript: misaligned indentation when using function shorthand with generic HOT 4
- typescript: misaligned indentation for `=` in template literal HOT 4
- Not matching JSX with dot separator HOT 1
- Great documentation HOT 1
- Dealing with tags interspersed in blocks of text
- Typescript indent failing for multiline properties
- jsxTagName should be same as htmlTagName
- Different formatting than expected HOT 1
- Function declaration's closing bracket highlighted as error HOT 3
- Highlight type arguments after jsxComponentName
- Highlighting issue with colorscheme HOT 2
- Closing tag doesn't get colored - Gruvbox HOT 2
- [Feature] Highlight when call function HOT 2
- highlighting fails on closing parens HOT 3
- Matchit support has problems with unclosed tags
- Weird highlight using vim-polygot HOT 1
- Broken .tsx highlighting for arrow functions using generics
- Problem syntax HOT 2
- Is there a reason why Line Comments are being redefined?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-jsx-pretty.