Sublime Forum

Dev Build 3107

#21

I get a ST crash by trying to use a recursive regex in an Indentation Rule:

	<key>increaseIndentPattern</key>
	<string>(?xi)
            ^ \s* where \s* \(([^()]|(?R))*\)  \s* $
	</string>

I know I should use \g, but I don’t think the whole application should crash.

0 Likes

#22

I copied the JavaScript package from the git repo into ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/ and restarted ST3, but nothing seems to have changed (the JS symbol issue for example). Is there something else I need to do to get this to work?

0 Likes

#23

If you put it in Packages/User/Javascript I think Sublime will pick it up automatically.
If you put it in Packages and if you type ctrl+shift+p then search for ‘set syntax: javascript’ you should see two entries (with the same name) one for the default Javascript syntax and the other for the one you pulled from the Git repo.

0 Likes

#24

Thanks, that works!

0 Likes