sethmcleod / language-pug-jade Goto Github PK
View Code? Open in Web Editor NEW๐ถ Atom syntax highlighting for Pug/Jade
๐ถ Atom syntax highlighting for Pug/Jade
thanks for this, it works much better then atom-jade or language-pug
When this package is enabled, whitespace package do not remove trailing whitespaces anymore.
You must change in both language-jade.cson
& language-pug.cson
, on line 86 'if/else condition'
to 'if/else condition'
.
[Enter steps to reproduce:]
Atom: 1.33.0 x64
Electron: 2.0.11
OS: Windows 10
Thrown From: language-pug-jade package 0.2.1
Failed to load a language-pug-jade package grammar
At Maximum call stack size exceeded in C:\Users\MASKA\.atom\packages\language-pug-jade\grammars\pug.cson
RangeError: Maximum call stack size exceeded
at RegExp.test (<anonymous>)
at new Pattern (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:1124095)
at Grammar.t.exports.Grammar.createPattern (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:121354)
at new Pattern (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:1124217)
at Grammar.t.exports.Grammar.createPattern (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:121354)
at new Rule (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:1129095)
at Grammar.t.exports.Grammar.createRule (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:121274)
at new Pattern (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:1124301)
at Grammar.t.exports.Grammar.createPattern (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:121354)
at new Rule (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:1129095)
at Grammar.t.exports.Grammar.createRule (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:121274)
at Grammar.t.exports.Grammar.createRepository (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:120564)
at Grammar.t.exports.Grammar.updateRules (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:120191)
at Grammar.t.exports.Grammar.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:120829)
at GrammarRegistry.t.exports.GrammarRegistry.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:114682)
at Grammar.t.exports.Grammar.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:120857)
at GrammarRegistry.t.exports.GrammarRegistry.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:114682)
at Grammar.t.exports.Grammar.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:120857)
at GrammarRegistry.t.exports.GrammarRegistry.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:114682)
at Grammar.t.exports.Grammar.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:120857)
at GrammarRegistry.t.exports.GrammarRegistry.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:114682)
at Grammar.t.exports.Grammar.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:120857)
at GrammarRegistry.t.exports.GrammarRegistry.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:114682)
at Grammar.t.exports.Grammar.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:120857)
at GrammarRegistry.t.exports.GrammarRegistry.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:114682)
at Grammar.t.exports.Grammar.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:120857)
at GrammarRegistry.t.exports.GrammarRegistry.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:114682)
at Grammar.t.exports.Grammar.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:120857)
at GrammarRegistry.t.exports.GrammarRegistry.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:114682)
at Grammar.t.exports.Grammar.grammarUpdated (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:120857)
at /packages/language-pug-jade/grammars/pug.cson:1:1
atom-beautify 0.33.4
file-icons 2.1.26
language-babel 2.85.0
language-pug-jade 0.2.1
minimap 4.29.9
multi-cursor 2.1.5
Stylus 3.2.0
Sublime-Style-Column-Selection 1.7.5
When I use Pug with Vue.js v-bind shorthand the syntax highlighting of your package do not work properly.
See :disabled
, :data-test
& :class
.
Hi
I have install Your package on atom but it does not highlight tags. Something is highlighting them
But i have no idea what cause i have like 102 packages. Yours is the last one i have install. After im moving my lorem impsum text into new line but still on the same p tag it highlights the first word which it should not highlight
Do You have any idea how to fix it?
Hello,
When I have a line of code involving the '#' Symbol (pound sign, octothorpe, hashtag) it doesn't have the right coloring as my Sublime co workers.
First issue is the following line (in this case a TODO) does not gray out like it normally would as the # line above it is affecting it. Similarly if it was a -var line it would not have that purple look. So the second line after a '#' is fine but not the first.
Second issue is that the Sublime version would make a differentiation between the left and right side of the '=' sign. Or at least make the '=' sign a different color. I think I also saw that the text in the quotes while in the same screen shot here is the same color, in Sublime the quoted text would be different like it was quoted.
SADLY, I don't have the knowledge on how to fix this in the code myself. Does anyone else? Is there a patch for this? Mainly cause my team looks down on Atom and right now this is the main sticking point they'd have.
Any help would be greatly appreciated!!
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.