Mercurial > vim
view src/proto/textformat.pro @ 31819:aec031683d61 v9.0.1242
patch 9.0.1242: code for :runtime completion is not consistent
Commit: https://github.com/vim/vim/commit/b0d45ec67f4976318f199a7929ad3bcf93686fd0
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed Jan 25 15:04:22 2023 +0000
patch 9.0.1242: code for :runtime completion is not consistent
Problem: Code for :runtime completion is not consistent.
Solution: Make code for cmdline expansion more consistent. (closes https://github.com/vim/vim/issues/11875)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 25 Jan 2023 16:15:06 +0100 |
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 : */