Mercurial > vim
view src/proto/cindent.pro @ 28790:a161c262e947 v8.2.4919
patch 8.2.4919: can add invalid bytes with :spellgood
Commit: https://github.com/vim/vim/commit/7c824682d2028432ee082703ef0ab399867a089b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 8 22:32:58 2022 +0100
patch 8.2.4919: can add invalid bytes with :spellgood
Problem: Can add invalid bytes with :spellgood.
Solution: Check for a valid word string.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 08 May 2022 23:45:02 +0200 |
parents | 0d798c7e1865 |
children |
line wrap: on
line source
/* cindent.c */ int cin_is_cinword(char_u *line); int is_pos_in_string(char_u *line, colnr_T col); pos_T *find_start_comment(int ind_maxcomment); int cindent_on(void); void parse_cino(buf_T *buf); int get_c_indent(void); int in_cinkeys(int keytyped, int when, int line_is_empty); void do_c_expr_indent(void); void f_cindent(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */