Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (6.1k points)
Can anybody help me setting up Emmet for PUG syntax of Python in Sublime?

1 Answer

0 votes
by (11.7k points)

There is a need to set PUG abbreviations for source.pypug source. By hitting ctrl+alt+shift+P, it will display scop: source.pypug tag.pug complete_tag.pug entity.name.tag.pug which will work fine with pug syntax highlighting.

{

  "operand": "source.pypug",

  "operator": "equal",

  "match_all": true,

  "key": "selector" 

},

This code will work using double tab click as HTML syntax for source.pypug scope.

Emmet 2 plugins can also be used but its under beta mode:

https://github.com/emmetio/sublime-text-plugin

Want to learn Python, check out this Python Tutorial from Intellipaat.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Jul 22, 2019 in Python by Sammy (47.6k points)
0 votes
1 answer
asked Dec 29, 2020 in Python by ashely (50.2k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...