#include <assert.h>
#include <inttypes.h>
#include "nvim/ascii.h"
#include "nvim/charset.h"
#include "nvim/cursor.h"
#include "nvim/edit.h"
#include "nvim/indent.h"
#include "nvim/indent_c.h"
#include "nvim/mark.h"
#include "nvim/memline.h"
#include "nvim/memory.h"
#include "nvim/option.h"
#include "nvim/search.h"
#include "nvim/strings.h"
#include "nvim/vim.h"
Data Structures | |
struct | cpp_baseclass_cache_T |
Macros | |
#define | FIND_NAMESPACE_LIM 20 |
#define | BRACE_IN_COL0 1 |
#define | BRACE_AT_START 2 |
#define | BRACE_AT_END 3 |
#define | LOOKFOR_INITIAL 0 |
#define | LOOKFOR_IF 1 |
#define | LOOKFOR_DO 2 |
#define | LOOKFOR_CASE 3 |
#define | LOOKFOR_ANY 4 |
#define | LOOKFOR_TERM 5 |
#define | LOOKFOR_UNTERM 6 |
#define | LOOKFOR_SCOPEDECL 7 |
#define | LOOKFOR_NOBREAK 8 |
#define | LOOKFOR_CPP_BASECLASS 9 |
#define | LOOKFOR_ENUM_OR_INIT 10 |
#define | LOOKFOR_JS_KEY 11 |
#define | LOOKFOR_COMMA 12 |
Functions | |
pos_T * | find_start_comment (int ind_maxcomment) |
int | is_pos_in_string (const char_u *line, colnr_T col) |
bool | cin_is_cinword (const char_u *line) |
bool | cin_islabel (void) |
bool | cin_iscase (const char_u *s, bool strict) |
bool | cin_isscopedecl (const char_u *p) |
Recognize a scope declaration label set in 'cinscopedecls'. More... | |
void | parse_cino (buf_T *buf) |
int | get_c_indent (void) |
void | do_c_expr_indent (void) |
#define BRACE_AT_END 3 |
#define BRACE_AT_START 2 |
#define BRACE_IN_COL0 1 |
#define FIND_NAMESPACE_LIM 20 |
#define LOOKFOR_ANY 4 |
#define LOOKFOR_CASE 3 |
#define LOOKFOR_COMMA 12 |
#define LOOKFOR_CPP_BASECLASS 9 |
#define LOOKFOR_DO 2 |
#define LOOKFOR_ENUM_OR_INIT 10 |
#define LOOKFOR_IF 1 |
#define LOOKFOR_INITIAL 0 |
#define LOOKFOR_JS_KEY 11 |
#define LOOKFOR_NOBREAK 8 |
#define LOOKFOR_SCOPEDECL 7 |
#define LOOKFOR_TERM 5 |
#define LOOKFOR_UNTERM 6 |
Recognize a switch label: "case .*:" or "default:".
strict | Allow relaxed check of case statement for JS |
Recognize a scope declaration label set in 'cinscopedecls'.
pos_T* find_start_comment | ( | int | ind_maxcomment | ) |
int get_c_indent | ( | void | ) |