forked from aniani/vim
patch 8.2.4951: smart indenting done when not enabled
Problem: Smart indenting done when not enabled. Solution: Check option values before setting can_si. (closes #10420)
This commit is contained in:
@@ -23,6 +23,7 @@ int get_breakindent_win(win_T *wp, char_u *line);
|
||||
int inindent(int extra);
|
||||
void op_reindent(oparg_T *oap, int (*how)(void));
|
||||
int preprocs_left(void);
|
||||
int may_do_si(void);
|
||||
void ins_try_si(int c);
|
||||
void change_indent(int type, int amount, int round, int replaced, int call_changed_bytes);
|
||||
int copy_indent(int size, char_u *src);
|
||||
|
||||
Reference in New Issue
Block a user