Update runtime files

This commit is contained in:
Bram Moolenaar
2022-07-06 13:18:11 +01:00
parent cf34434b5e
commit 5ed11535e0
14 changed files with 506 additions and 336 deletions

View File

@ -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