summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-25 13:53:11 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-25 13:53:11 +0200
commit904fb861e7afcd116689da97824953c192c369bd (patch)
treea73a90ce0e0cb7482e8b649ba9710431c18209f9 /src
parent22b306f3e0c96820c4bf3a613070eac45685011d (diff)
downloadvim-git-904fb861e7afcd116689da97824953c192c369bd.tar.gz
Add completion for :setfiletype. (Dominique Pelle)
Diffstat (limited to 'src')
-rw-r--r--src/ex_docmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index ecbfe3bed..2b63c0850 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -3831,6 +3831,7 @@ set_one_cmd_context(xp, buff)
xp->xp_pattern = arg;
break;
+ case CMD_setfiletype:
case CMD_ownsyntax:
xp->xp_context = EXPAND_FILETYPE;
xp->xp_pattern = arg;