Update runtime files
This commit is contained in:
@ -16,7 +16,7 @@ set cpo&vim
|
||||
|
||||
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 @@ else
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user