diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-10-16 08:56:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-16 08:56:26 +0800 |
commit | 0b71960ab1bcbcc42f2d6abba4c72cd6ac3c840b (patch) | |
tree | ba17ea551188576f660573127e34275f87dc54b0 /runtime/doc/options.txt | |
parent | bc798dfd8cea9a5f93461e05dcb8409b6d96afc0 (diff) | |
parent | c8fbf39d474b1140bee10edbcf36305ea49bf863 (diff) | |
download | rneovim-0b71960ab1bcbcc42f2d6abba4c72cd6ac3c840b.tar.gz rneovim-0b71960ab1bcbcc42f2d6abba4c72cd6ac3c840b.tar.bz2 rneovim-0b71960ab1bcbcc42f2d6abba4c72cd6ac3c840b.zip |
Merge pull request #20677 from zeertzjq/vim-9.0.0761
vim-patch:9.0.{0761,0762,0764}: 'lispoptions'
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r-- | runtime/doc/options.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index a846f49781..3e056ffc28 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -3352,7 +3352,7 @@ A jump table for the options with a short description can be found at |Q_op|. in Insert mode as specified with the 'indentkeys' option. When this option is not empty, it overrules the 'cindent' and 'smartindent' indenting. When 'lisp' is set, this option is - overridden by the Lisp indentation algorithm. + is only used when 'lispoptions' contains "expr:1". When 'paste' is set this option is not used for indenting. The expression is evaluated with |v:lnum| set to the line number for which the indent is to be computed. The cursor is also in this line @@ -3719,6 +3719,17 @@ A jump table for the options with a short description can be found at |Q_op|. calling an external program if 'equalprg' is empty. This option is not used when 'paste' is set. + *'lispoptions'* *'lop'* +'lispoptions' 'lop' string (default "") + local to buffer + Comma-separated list of items that influence the Lisp indenting when + enabled with the |'lisp'| option. Currently only one item is + supported: + expr:1 use 'indentexpr' for Lisp indenting when it is set + expr:0 do not use 'indentexpr' for Lisp indenting (default) + Note that when using 'indentexpr' the `=` operator indents all the + lines, otherwise the first line is not indented (Vi-compatible). + *'lispwords'* *'lw'* 'lispwords' 'lw' string (default is very long) global or local to buffer |global-local| |