summaryrefslogtreecommitdiff
path: root/runtime/syntax/matlab.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-06-19 05:09:16 +0200
committerBram Moolenaar <Bram@vim.org>2011-06-19 05:09:16 +0200
commit251e19127170e7387da1f10b9c99c957b16477fc (patch)
treeb286383f88539796b7ce8d724cf9872f8910bf72 /runtime/syntax/matlab.vim
parentd6761c3cdf9d15c0f64253dcd8049ff9f25aa987 (diff)
downloadvim-git-251e19127170e7387da1f10b9c99c957b16477fc.tar.gz
Updated runtime files.
Diffstat (limited to 'runtime/syntax/matlab.vim')
-rw-r--r--runtime/syntax/matlab.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/syntax/matlab.vim b/runtime/syntax/matlab.vim
index 7d20368e0..3828f3e8a 100644
--- a/runtime/syntax/matlab.vim
+++ b/runtime/syntax/matlab.vim
@@ -4,6 +4,8 @@
" Credits: Preben 'Peppe' Guldberg <peppe-vim@wielders.org>
" Original author: Mario Eusebio
" Last Change: Wed Jan 13 11:12:34 CET 2010
+" sinh added to matlab implicit commands
+" Change History:
" - 'global' and 'persistent' keyword are now recognized
" For version 5.x: Clear all syntax items
@@ -68,7 +70,7 @@ syn keyword matlabOperator ceil floor size clear zeros eye mean std cov
syn keyword matlabFunction error eval function
syn keyword matlabImplicit abs acos atan asin cos cosh exp log prod sum
-syn keyword matlabImplicit log10 max min sign sin sqrt tan reshape
+syn keyword matlabImplicit log10 max min sign sin sinh sqrt tan reshape
syn match matlabError "-\=\<\d\+\.\d\+\.[^*/\\^]"
syn match matlabError "-\=\<\d\+\.\d\+[eEdD][-+]\=\d\+\.\([^*/\\^]\)"