Sublime Forum

SOLVED Linux: Word Seperators working until I save css file

#1

Using Linux (Zorin) and if I create a new stylesheet and select words between dashes, ie “one-word-here” and select “word”, the word seperator settings work. The minute I save that new css file with a name, the dash as a word seperator stops working.

My sublime settings:
“sub_word_separators”: “_-”,
“word_separators”: “./\()”’-:,.;<>~!@#$%^&*|+=[]{}`~?",

Syntax for CSS is on. (I’ve also tried it with CSS off)

I tried saving it as an HTML file just in case - and it preserved the dash as a word separator.

So it must be related somehow to the syntax? How do I fix this?

0 Likes

#2

Not sure how to edit the content - I thought I had saved the settings under the syntax-specific file, but must’ve done it before turning CSS back on.

Saved the word seperator line with dash included under syntax specific settings and over-rode the default - now working

0 Likes