mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
a27419f3fc
Problem: There are three different ways of marking an option as hidden, `enable_if = false`, `hidden = true` and `immutable = true`. These also have different behaviors. Options hidden with `enable_if = false` can't have their value fetched using Vim script or the API, but options hidden with `hidden = true` or `immutable = true` can. On the other hand, options with `hidden = true` do not error when trying to set their value, but options with `immutable = true` do. Solution: Remove `enable_if = false`, remove the `hidden` property for options, and use `immutable = true` to mark an option as hidden instead. Also make hidden option variable pointers always point to the default value, which allows fetching the value of every hidden option using Vim script and the API. This does also mean that trying to set a hidden option will now give an error instead of just being ignored. |
||
---|---|---|
.. | ||
cargo | ||
dist | ||
provider | ||
remote | ||
rust | ||
xml | ||
ada.vim | ||
adacomplete.vim | ||
bitbake.vim | ||
cargo.vim | ||
ccomplete.lua | ||
ccomplete.vim | ||
clojurecomplete.vim | ||
context.vim | ||
contextcomplete.vim | ||
csscomplete.vim | ||
decada.vim | ||
freebasic.vim | ||
gnat.vim | ||
gzip.vim | ||
hare.vim | ||
haskellcomplete.vim | ||
hcl.vim | ||
htmlcomplete.vim | ||
javaformat.vim | ||
javascriptcomplete.vim | ||
modula2.vim | ||
msgpack.vim | ||
netrw_gitignore.vim | ||
netrw.vim | ||
netrwFileHandlers.vim | ||
netrwSettings.vim | ||
paste.vim | ||
phpcomplete.vim | ||
provider.vim | ||
python3complete.vim | ||
python.vim | ||
pythoncomplete.vim | ||
README.txt | ||
RstFold.vim | ||
rubycomplete.vim | ||
rust.vim | ||
rustfmt.vim | ||
shada.vim | ||
spellfile.vim | ||
sqlcomplete.vim | ||
syntaxcomplete.vim | ||
tar.vim | ||
tutor.vim | ||
typst.vim | ||
vimexpect.vim | ||
xmlcomplete.vim | ||
xmlformat.vim | ||
zip.vim |
The autoload directory is for standard Vim autoload scripts. These are functions used by plugins and for general use. They will be loaded automatically when the function is invoked. See ":help autoload". gzip.vim for editing compressed files netrw*.vim browsing (remote) directories and editing remote files tar.vim browsing tar files zip.vim browsing zip files paste.vim common code for mswin.vim and menu.vim spellfile.vim downloading of a missing spell file Omni completion files: ccomplete.vim C csscomplete.vim HTML / CSS htmlcomplete.vim HTML javascriptcomplete.vim Javascript phpcomplete.vim PHP pythoncomplete.vim Python rubycomplete.vim Ruby syntaxcomplete.vim from syntax highlighting xmlcomplete.vim XML (uses files in the xml directory)