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.
每次我启用--watch:lessc style.less --watch
lessc style.less --watch
每次我尝试在style.less文件中保存内容时,Vim 都会显示以下消息:
style.less
E505 "...style.less is read-only" (add ! to override)
所以每次我想保存文件时,我都必须输入:w!
有什么建议可以消除只读吗?
我无法重现这一点。
我只能说,试试 vim :
:set noreadonly
或者
:set noro
如果没有任何效果,请查看文件的右侧。它可能与更少无关。