jamalsenouci / sublimetext-syntaxfold

Sublime Text Plugin that provides a configurable command and popup for folding code based on syntax
MIT License
40 stars 6 forks source link

Cannot use these characters as start/end markers. #37

Open Unknow0059 opened 5 years ago

Unknow0059 commented 5 years ago

I can not use "[" and "]" as start and end regions for folding areas.

SyntaxFold settings: { "scope": "text.plain", "startMarker":"[", "endMarker":"]" }

I can use <>, {}, but not [], and also not (). I'd like to know why this is the case.

In the --#[ and --#] region markers not working issue, it's said that special characters must be escaped, however, when i do so, the console shows me the following: error: Error trying to parse settings: Invalid escape in Packages\User\syntax_fold.sublime-settings:25:27

assombrance commented 5 years ago

Same problem here, it's important for me to have "(" and ")" as a marker, I'm trying to find a solution but without success for now

SandbergSan commented 4 years ago

Same problem here. Can't use ( or )