Closed juanbretti closed 4 years ago
Better could be to add indentation to the icons, like what happens one function is created inside another.
I have this for creating sections/outlines/folds in my Python code:
{
"pattern": "^(\\s*)#### (.*)----",
"clear": "#|----",
"prefix": "··",
"icon": "level3"
},
{
"pattern": "^(\\s*)### (.*)----",
"clear": "#|----",
"prefix": "·",
"icon": "level2"
},
{
"pattern": "^(\\s*)## (.*)----",
"clear": "#|----",
"icon": "level1"
},
And I get this:
But I would like to have indentation like:
Duplicate #32
Hello, I want to insert a few spaces at the prefix, something like:
But instead of 'space''space', I get '\s\s' before the line. Thanks!