{ scopeName = 'text.html.csv';
fileTypes = ( );
foldingStartMarker = '/\*\*|\{\s*$';
foldingStopMarker = '\*\*/|^\s*\}';
patterns = (
{ name = 'keyword.control.untitled';
match = '^.+,';
},
{ name = 'string.quoted.double.untitled';
begin = '"';
end = '"';
patterns = (
{ name = 'constant.character.escape.untitled';
match = '".+$\n';
},
);
},
);
}
3. Set the language association of the CSV file opened in TM to "MyCSV"
4. Value 1 will be Blue and value 2 will be Green.
I dont know if thats the way to do it, but sure it will work !
HTH