Closed theTechGoose closed 2 years ago
Never mind, the solution is related to my previous issue;
Can you consider adding the following to the readme so that newer people like myself are less confused?
To get variable intelligence working correctly:
autocmd FileType scss setl iskeyword+=@ autocmd FileType scss setl iskeyword+=$ autocmd FileType scss setl iskeyword+=-
autocmd FileType css setl iskeyword+=@ autocmd FileType css setl iskeyword+=$ autocmd FileType css setl iskeyword+=-
Still a small issue of the split variables are still in the list. How do I fix?
These three are part of the other variables and the plugin for some reason treats them as two separate variables.
$base $shadow $primary
It's by design https://github.com/neoclide/coc.nvim/blob/master/src/sources/native/around.ts#L21, you can disable around source and create your own source.
Variables separated by a '-' are cut off. Here is an example:
random css file
_vars.scss