Skip to content

Commit

Permalink
In vim, "syntax" can be abbreviated as "syn".
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoisin authored and martanne committed Jan 16, 2015
1 parent 558d9e2 commit 1f335d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vis.c
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@ static bool cmd_set(Filerange *range, const char *argv[]) {
[OPTION_AUTOINDENT] = { "^(autoindent|ai)$", OPTION_TYPE_BOOL },
[OPTION_EXPANDTAB] = { "^(expandtab|et)$", OPTION_TYPE_BOOL },
[OPTION_TABWIDTH] = { "^(tabwidth|tw)$", OPTION_TYPE_NUMBER },
[OPTION_SYNTAX] = { "^syntax$", OPTION_TYPE_STRING },
[OPTION_SYNTAX] = { "^(syntax|syn?)$", OPTION_TYPE_STRING },
[OPTION_NUMBER] = { "^(numbers?|nu)$", OPTION_TYPE_BOOL },
};

Expand Down

0 comments on commit 1f335d0

Please sign in to comment.