diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-01-14 23:14:23 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-01-14 23:14:23 -0500 |
commit | 24fbb2c866039d61107fa1f6a2efe86bb6951e55 (patch) | |
tree | a4f58394b187f382e3ad9258448368a189c42454 /runtime/doc/options.txt | |
parent | 403467056818dce535059c87f289db00b0d4216c (diff) | |
parent | cf0ff1dd0ff93f6ce40af76d671f4d173258fab4 (diff) | |
download | rneovim-24fbb2c866039d61107fa1f6a2efe86bb6951e55.tar.gz rneovim-24fbb2c866039d61107fa1f6a2efe86bb6951e55.tar.bz2 rneovim-24fbb2c866039d61107fa1f6a2efe86bb6951e55.zip |
Merge pull request #4014 from jusga/vim-2b8388b
vim-patch:2b8388b
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r-- | runtime/doc/options.txt | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index df02d5a7cf..6539ad364b 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -488,11 +488,11 @@ number can be specified where "vim:" or "Vim:" is used: vim<{vers}: version before {vers} vim={vers}: version {vers} vim>{vers}: version after {vers} -{vers} is 600 for Vim 6.0 (hundred times the major version plus minor). -For example, to use a modeline only for Vim 6.0 and later: - /* vim600: set foldmethod=marker: */ ~ -To use a modeline for Vim before version 5.7: - /* vim<570: set sw=4: */ ~ +{vers} is 700 for Vim 7.0 (hundred times the major version plus minor). +For example, to use a modeline only for Vim 7.0: + /* vim700: set foldmethod=marker */ ~ +To use a modeline for Vim after version 7.2: + /* vim>702: set cole=2: */ ~ There can be no blanks between "vim" and the ":". @@ -1193,8 +1193,9 @@ A jump table for the options with a short description can be found at |Q_op|. nofile only: The buffer name is fixed, it is not handled like a file name. It is not modified in response to a |:cd| command. - nofile only: When using ":e bufname" and already editing "bufname" - nothing changes, since there is no file to edit. + both: When using ":e bufname" and already editing "bufname" + the buffer is made empty and autocommands are + triggered as usual for |:edit|. *E676* "acwrite" implies that the buffer name is not related to a file, like "nofile", but it will be written. Thus, in contrast to "nofile" and @@ -2438,8 +2439,8 @@ A jump table for the options with a short description can be found at |Q_op|. 2. If a <NL> is found and 'fileformats' includes "unix", 'fileformat' is set to "unix". Note that when a <NL> is found without a preceding <CR>, "unix" is preferred over "dos". - 3. If 'fileformat' has not yet been set, and if 'fileformats' - includes "mac", 'fileformat' is set to "mac". + 3. If 'fileformat' has not yet been set, and if a <CR> is found, and + if 'fileformats' includes "mac", 'fileformat' is set to "mac". This means that "mac" is only chosen when: "unix" is not present or no <NL> is found in the file, and "dos" is not present or no <CR><NL> is found in the file. |