summaryrefslogtreecommitdiffstats
path: root/runtime/syntax/generator/gen_syntax_vim.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/generator/gen_syntax_vim.vim')
-rw-r--r--runtime/syntax/generator/gen_syntax_vim.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/syntax/generator/gen_syntax_vim.vim b/runtime/syntax/generator/gen_syntax_vim.vim
index 5c797deb7d..b4feeed790 100644
--- a/runtime/syntax/generator/gen_syntax_vim.vim
+++ b/runtime/syntax/generator/gen_syntax_vim.vim
@@ -279,6 +279,7 @@ function! s:get_vim_command_type(cmd_name)
\ 'autocmd', 'augroup', 'doautocmd', 'doautoall',
\ 'echo', 'echoconsole', 'echoerr', 'echohl', 'echomsg', 'echon', 'echowindow',
\ 'execute',
+ \ 'function', 'endfunction', 'def', 'enddef',
\ 'behave', 'augroup', 'normal', 'syntax',
\ 'append', 'insert',
\ 'Next', 'Print', 'X',