Sublime Forum

[Bug] Highlight Perl syntax (build 3126)

#1

Third “_” in line 3 break quote balancing (i.e. underscore in TCSV_DIR)


Here is the code:

($debug) = s_getfromcfg(“FLUX_MATRIX”,“DEBUG”) unless ($debug);
($dir) = s_getfromcfg(“FLUX_MATRIX”,“DIR”) unless ($dir);
($tcsv_dir) = s_getfromcfg(“FLUX_MATRIX”,“TCSV_DIR”) unless ($tcsv_dir);
($tmp) = s_getfromcfg(“FLUX_MATRIX”,“TMP”) unless ($tmp);
################################# Debug vars #################################
use Silca::Debug;
$Silca::Debug::debug = ($debug =~ /true/i)?1:0;

DEBUG($debug);
DEBUG($dir);
DEBUG($tcsv_dir);

0 Likes

#2

The default packages are all maintained at https://github.com/sublimehq/Packages. If you could open an issue there with the source code, that will be the best place to get more eyes on fixing it.

0 Likes