Mercurial > vim
view src/proto/cindent.pro @ 29692:042f357b455d v9.0.0186
patch 9.0.0186: virtual text without highlighting does not show
Commit: https://github.com/vim/vim/commit/3331dd03515655ec6b9c1bd374db6e8c27acb27a
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 10 16:49:02 2022 +0100
patch 9.0.0186: virtual text without highlighting does not show
Problem: Virtual text without highlighting does not show. (Ben Jackson)
Solution: Use a text property when it has highlighting or when it has text.
(closes #10878)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 10 Aug 2022 18:00:04 +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 : */