开发者

Enabling --watch in LESS (Less CSS) makes Vim display read-only warning in the current .less file

开发者 https://www.devze.com 2023-01-04 02:17 出处:网络
Everytime I e开发者_运维问答nable --watch: lessc style.less --watch Vim displays the following message every time I try to save something in the style.less file:

Everytime I e开发者_运维问答nable --watch: lessc style.less --watch

Vim displays the following message every time I try to save something in the style.less file:

E505 "...style.less is read-only" (add ! to override) 

So everytime I want to save the file I have to type :w!

Any suggestions to eliminate the read-only?


I cannot reproduce this.

All I can say is, try on vim :

:set noreadonly

or

:set noro

If nothing works, have a look on the file's right. It may have nothing to do with less.

0

精彩评论

暂无评论...
验证码 换一张
取 消