1
0
forked from aniani/vim

Add completion for ":ownsyntax" and improve completion for ":filetype".

(Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2010-07-29 20:59:59 +02:00
parent 8ada2cca0a
commit 1587a1e37d
6 changed files with 51 additions and 35 deletions

View File

@@ -3831,8 +3831,12 @@ set_one_cmd_context(xp, buff)
xp->xp_pattern = arg;
break;
case CMD_setfiletype:
case CMD_ownsyntax:
xp->xp_context = EXPAND_OWNSYNTAX;
xp->xp_pattern = arg;
break;
case CMD_setfiletype:
xp->xp_context = EXPAND_FILETYPE;
xp->xp_pattern = arg;
break;