diff runtime/ftplugin/matlab.vim @ 18186:03b854983b14

Update runtime files. Commit: https://github.com/vim/vim/commit/5be4ceecea5520265066eac972460ebb1cdf05e7 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 27 19:34:08 2019 +0200 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Fri, 27 Sep 2019 19:45:06 +0200
parents 11d78e58a487
children 11b656e74444
line wrap: on
line diff
--- a/runtime/ftplugin/matlab.vim
+++ b/runtime/ftplugin/matlab.vim
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
 " Language:	matlab
 " Maintainer:	Jake Wasserman <jwasserman at gmail dot com>
-" Last Changed: 2014 Dec 30
+" Last Change: 	2019 Sep 27
 
 " Contributors:
 " Charles Campbell
@@ -24,8 +24,9 @@ endif
 
 setlocal suffixesadd=.m
 setlocal suffixes+=.asv
+setlocal commentstring=%\ %s
 
-let b:undo_ftplugin = "setlocal suffixesadd< suffixes< "
+let b:undo_ftplugin = "setlocal suffixesadd< suffixes< commentstring< "
 	\ . "| unlet! b:match_words"
 
 let &cpo = s:save_cpo