diff options
author | Sean Anderson | 2024-01-07 15:39:14 -0500 |
---|---|---|
committer | Sean Anderson | 2024-01-07 15:39:14 -0500 |
commit | 7342235938b2e40adaa895996e1258d810e99d7d (patch) | |
tree | 68dac8266878724737dde2930bcfff21c6c6e4bd /comment.patch | |
download | aur-vim-msp.tar.gz |
1.1
Diffstat (limited to 'comment.patch')
-rw-r--r-- | comment.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/comment.patch b/comment.patch new file mode 100644 index 000000000000..1d9a324a01b9 --- /dev/null +++ b/comment.patch @@ -0,0 +1,19 @@ +--- src/msp.vim 2024-01-07 15:35:36.598995039 -0500 ++++ /home/sean/.vim/syntax/msp.vim 2024-01-07 15:31:18.748175204 -0500 +@@ -9,6 +9,7 @@ + " 1.0 2003-07-18 Initial version + " 1.1 2003-08-06 Add minimal support for C style comments + " 1.1-1 2024-01-07 Convert regexes in keywords to matches ++" Add support for bash style comments + + " For version 5.x: Clear all syntax items + " For version 6.x: Quit when a syntax file was already loaded +@@ -38,7 +39,7 @@ + syn match mspOctal "O'[0-7]\o*'" + + +-syn match mspComment ";.*" contains=mspTodo ++syn match mspComment "\(^\s*#\|;\).*" contains=mspTodo + + syn region mspString start=+"+ end=+"+ + |