4 ms·
I don't mind haveing color variables. When I need a new red, I define @projectRed or @redAlt. It is so much easier to remember red than some dangerColor. Why w
by dheerosaur 14y ago
I don't mind haveing color variables. When I need a new red, I define @projectRed or @redAlt. It is so much easier to remember red than some dangerColor.
Why will they choose hyphenated variables instead of camelCase?
- jrogers65 14y ago>Why will they choose hyphenated variables instead of camelCase? Presumably because hyphentation is the standard in CSS.
- dheerosaur 14y agoBut, variables are not standard in CSS. I always perceived less variables as JavaScript variables. Now, I need to figure out a way to make Vim treat hyphenated words as words for filetype=less.
- ldh 14y agoYou can either use the 'W' movement (instead of 'w') or use the 'iskeyword' option to change what is considered a word character. Word movement: http://vimdoc.sourceforge.net/htmldoc/usr_03.html#03.1 http://vimdoc.sourceforge.net/htmldoc/usr_03.html#03.1