Mercurial > vim
view src/proto/textformat.pro @ 29377:48b086982c01 v9.0.0031
patch 9.0.0031: <cmod> of user command does not have correct verbose value
Commit: https://github.com/vim/vim/commit/9359e8a6d99fe2abfcbb9603339f1740d8870cc6
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun Jul 3 13:16:09 2022 +0100
patch 9.0.0031: <cmod> of user command does not have correct verbose value
Problem: <cmod> of user command does not have correct verbose value.
Solution: Use the value from the command modifier. (closes https://github.com/vim/vim/issues/10651)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 03 Jul 2022 14:30:06 +0200 |
parents | f103da6ba95f |
children |
line wrap: on
line source
/* textformat.c */ int has_format_option(int x); void internal_format(int textwidth, int second_indent, int flags, int format_only, int c); void auto_format(int trailblank, int prev_line); void check_auto_format(int end_insert); int comp_textwidth(int ff); void op_format(oparg_T *oap, int keep_cursor); void op_formatexpr(oparg_T *oap); int fex_format(linenr_T lnum, long count, int c); void format_lines(linenr_T line_count, int avoid_fex); /* vim: set ft=c : */