Mercurial > vim
comparison src/ex_docmd.c @ 2268:aafed4a4866f vim73
Command line completion for :ownsyntax. (Dominique Pelle)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 21 Jun 2010 06:24:34 +0200 |
parents | 1bac28a53fae |
children | ebabd8a8b714 |
comparison
equal
deleted
inserted
replaced
2267:c08f91142c41 | 2268:aafed4a4866f |
---|---|
3801 case CMD_compiler: | 3801 case CMD_compiler: |
3802 xp->xp_context = EXPAND_COMPILER; | 3802 xp->xp_context = EXPAND_COMPILER; |
3803 xp->xp_pattern = arg; | 3803 xp->xp_pattern = arg; |
3804 break; | 3804 break; |
3805 | 3805 |
3806 case CMD_ownsyntax: | |
3807 xp->xp_context = EXPAND_FILETYPE; | |
3808 xp->xp_pattern = arg; | |
3809 break; | |
3810 | |
3806 #if (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \ | 3811 #if (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \ |
3807 && (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE)) | 3812 && (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE)) |
3808 case CMD_language: | 3813 case CMD_language: |
3809 if (*skiptowhite(arg) == NUL) | 3814 if (*skiptowhite(arg) == NUL) |
3810 { | 3815 { |