Enabling --watch in LESS (Less CSS) makes Vim display read-only warning in the current .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.
精彩评论