mirror of
https://github.com/vim/vim
synced 2025-03-16 14:57:52 +01:00
Problem: Line comment start is also found in a string. Solution: Skip line comments in a string.
11 lines
383 B
C
11 lines
383 B
C
/* 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 : */
|