Update runtime files
diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim
index 98c94cc..65c57a1 100644
--- a/runtime/ftplugin/vim.vim
+++ b/runtime/ftplugin/vim.vim
@@ -16,7 +16,7 @@
if !exists('*VimFtpluginUndo')
func VimFtpluginUndo()
- setl fo< isk< com< tw< commentstring<
+ setl fo< isk< com< tw< commentstring< include< define<
if exists('b:did_add_maps')
silent! nunmap <buffer> [[
silent! vunmap <buffer> [[
@@ -59,6 +59,11 @@
setlocal commentstring=\"%s
endif
+" set 'include' to recognize import commands
+setlocal include=\\v^\\s*import\\s*(autoload)?
+
+" set 'define' to recognize export commands
+setlocal define=\\v^\\s*export\\s*(def\|const\|var\|final)
" Format comments to be up to 78 characters long
if &tw == 0