Updated runtime files.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: man
|
||||
" Maintainer: SungHyun Nam <goweol@gmail.com>
|
||||
" Last Change: 2018 Jul 25
|
||||
" Last Change: 2019 Jan 22
|
||||
|
||||
" To make the ":Man" command available before editing a manual page, source
|
||||
" this script from your startup vimrc file.
|
||||
@ -206,10 +206,10 @@ func <SID>GetPage(cmdmods, ...)
|
||||
let $MANWIDTH = ''
|
||||
endif
|
||||
" Remove blank lines from top and bottom.
|
||||
while getline(1) =~ '^\s*$'
|
||||
while line('$') > 1 && getline(1) =~ '^\s*$'
|
||||
silent keepj norm! ggdd
|
||||
endwhile
|
||||
while getline('$') =~ '^\s*$'
|
||||
while line('$') > 1 && getline('$') =~ '^\s*$'
|
||||
silent keepj norm! Gdd
|
||||
endwhile
|
||||
1
|
||||
|
||||
16
runtime/ftplugin/mma.vim
Normal file
16
runtime/ftplugin/mma.vim
Normal file
@ -0,0 +1,16 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Mathematica
|
||||
" Maintainer: Ian Ford <ianf@wolfram.com>
|
||||
" Last Change: 22 January 2019
|
||||
|
||||
" Only do this when not done yet for this buffer
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
|
||||
" Don't load another plugin for this buffer
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
let b:undo_ftplugin = "setlocal commentstring<"
|
||||
|
||||
setlocal commentstring=\(*%s*\)
|
||||
Reference in New Issue
Block a user