diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-01-06 17:32:55 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-01-06 22:13:57 +0100 |
| commit | e985828a4639f61593a5296bec0869aac735f9d8 (patch) | |
| tree | e7bcb01df0225e29f1f8239ecb775e322f59eb68 /config.def.h | |
| parent | b84d93ce6db52805a8816412e4bf93d22f078e53 (diff) | |
| download | vis-e985828a4639f61593a5296bec0869aac735f9d8.tar.gz vis-e985828a4639f61593a5296bec0869aac735f9d8.tar.xz | |
Support per file type settings
This adds yet another layer of indirection.
exec_cmdline_command should take a const char pointer and not
modify its argument.
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 54d6d7c..1edebba 100644 --- a/config.def.h +++ b/config.def.h @@ -953,6 +953,11 @@ static Color colors[] = { static Syntax syntaxes[] = {{ .name = "c", .file = "\\.(c(pp|xx)?|h(pp|xx)?|cc)$", + .settings = (const char*[]){ + "set number", + "set autoindent", + NULL + }, .rules = { SYNTAX_MULTILINE_COMMENT, SYNTAX_SINGLE_LINE_COMMENT, |
