Mercurial > vim
diff src/proto/indent.pro @ 18156:c81370b3ede4 v8.1.2073
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Commit: https://github.com/vim/vim/commit/010ee9657acf1a9f799079d718998c94e50ccadc
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 25 20:37:36 2019 +0200
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Problem: When editing a buffer 'colorcolumn' may not work.
Solution: Set the buffer before copying option values. Call
check_colorcolumn() after copying window options.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 25 Sep 2019 20:45:03 +0200 |
parents | 0f7ae8010787 |
children | fe5afdc03bd2 |
line wrap: on
line diff
--- a/src/proto/indent.pro +++ b/src/proto/indent.pro @@ -10,4 +10,17 @@ int get_lisp_indent(void); void do_c_expr_indent(void); void fixthisline(int (*get_the_indent)(void)); void fix_indent(void); +int tabstop_set(char_u *var, int **array); +int tabstop_padding(colnr_T col, int ts_arg, int *vts); +int tabstop_at(colnr_T col, int ts, int *vts); +colnr_T tabstop_start(colnr_T col, int ts, int *vts); +void tabstop_fromto(colnr_T start_col, colnr_T end_col, int ts_arg, int *vts, int *ntabs, int *nspcs); +int tabstop_eq(int *ts1, int *ts2); +int *tabstop_copy(int *oldts); +int tabstop_count(int *ts); +int tabstop_first(int *ts); +long get_sw_value(buf_T *buf); +long get_sw_value_indent(buf_T *buf); +long get_sw_value_col(buf_T *buf, colnr_T col); +long get_sts_value(void); /* vim: set ft=c : */