Updated runtime files.
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim
index dc03211..87773ed 100644
--- a/runtime/ftplugin/man.vim
+++ b/runtime/ftplugin/man.vim
@@ -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 @@
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
diff --git a/runtime/ftplugin/mma.vim b/runtime/ftplugin/mma.vim
new file mode 100644
index 0000000..ce4cee1
--- /dev/null
+++ b/runtime/ftplugin/mma.vim
@@ -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*\)