You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To me, it makes a lot of sense to make some modules open in read-only when opened by gf or :Nedit and the like. It doesn't make much sense to be able to edit the fs module, which is a standard module.
On the other hand, it makes more sense to be allowed to edit locally downloaded modules. The distinction of course can be easily made, since standard modules such as fs must be curled, while local modules are found locally. So the same logic could be used to set readonly and set nomodifiable.
The text was updated successfully, but these errors were encountered:
Surprising that Netrw itself doesn't set them readonly... I can understand not doing so for protocols that have a standard for uploading files, but for HTTP...
To me, it makes a lot of sense to make some modules open in read-only when opened by
gf
or:Nedit
and the like. It doesn't make much sense to be able to edit thefs
module, which is a standard module.On the other hand, it makes more sense to be allowed to edit locally downloaded modules. The distinction of course can be easily made, since standard modules such as
fs
must be curled, while local modules are found locally. So the same logic could be used toset readonly
andset nomodifiable
.The text was updated successfully, but these errors were encountered: