Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,在 Sass 中,我使用破折号作为变量名,并且我有一个名为:
$hello-there
如果我输入he然后尝试完成它,它只会完成hello. 我将如何使它完成hello-there?
he
hello
hello-there
一种方法是将破折号添加到iskeyword选项。类似于以下内容:
set iskeyword+=-
也许您可以仅使用适当的文件类型将此设置添加到 sass文件。