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 /syntax.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 'syntax.h')
| -rw-r--r-- | syntax.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -20,6 +20,7 @@ struct Syntax { /* a syntax definition */ char *name; /* syntax name */ char *file; /* apply to files matching this regex */ regex_t file_regex; /* compiled file name regex */ + const char **settings;/* settings associated with this file type */ SyntaxRule rules[24]; /* all rules for this file type */ }; |
