Package: vim-runtime Version: 1:7.1.314-3+lenny2 Severity: minor File: /usr/share/vim/vim71/syntax/matlab.vim Tags: patch
@Spell and @NoSpell clusters are usually used in syntax files of different languages in order to check spelling only in strings, comments and similar regions. syntax/matlab.vim file does not use @Spell in "matlabComment" and "matlabString" and the default behaviour is spell checking whole text in the file. A trivial patch is included if only strings and comments are wanted to be spell checked in matlab files. Sergio Llorente. --- /usr/share/vim/vim71/syntax/matlab.vim 2008-10-17 20:11:29.000000000 +0200 +++ matlab.vim 2008-12-18 17:27:27.000000000 +0100 @@ -31,7 +31,7 @@ "syn match matlabIdentifier "\<\a\w*\>" " String -syn region matlabString start=+'+ end=+'+ oneline +syn region matlabString start=+'+ end=+'+ oneline contai...@spell " If you don't like tabs syn match matlabTab "\t" @@ -50,7 +50,7 @@ syn match matlabSemicolon ";" -syn match matlabComment "%.*$" contains=matlabTodo,matlabTab +syn match matlabComment "%.*$" contains=matlabTodo,matlabTab,@Spell syn keyword matlabOperator break zeros default margin round ones rand syn keyword matlabOperator ceil floor size clear zeros eye mean std cov -- System Information: Debian Release: lenny/sid APT prefers proposed-updates APT policy: (500, 'proposed-updates'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.24.2 Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages vim-runtime depends on: ii dpkg 1.14.23 Debian package management system Versions of packages vim-runtime recommends: ii vim 1:7.1.314-3+lenny2 Vi IMproved - enhanced vi editor ii vim-gnome [vim] 1:7.1.314-3+lenny2 Vi IMproved - enhanced vi editor - ii vim-gtk [vim] 1:7.1.314-3+lenny2 Vi IMproved - enhanced vi editor - vim-runtime suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org