Skip to content

Commit f3f1062

Browse files
committed
Merge branch 'hotfix/5.3.3'
Bug #39 Error on start crashes syntax highlighting
2 parents 918e5f7 + c9e9182 commit f3f1062

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ftplugin/ada.vim

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
" Neil Bird <neil@fnxweb.com>
88
" Bartek Jasicki <thindil@laeran.pl>
99
" Contributors: Doug Kearns <dougkearns@gmail.com>
10-
" Version: 5.3.0
10+
" Version: 5.3.3
1111
" History: 24.05.2006 MK Unified Headers
1212
" 26.05.2006 MK ' should not be in iskeyword.
1313
" 16.07.2006 MK Ada-Mode as vim-ball
@@ -27,6 +27,7 @@
2727
" 28.10.2022 MK Issue #13 Fix key and menu mappings.
2828
" 04.11.2022 DK Improve matchit config
2929
" 04.11.2022 DK Define iabbrevs as buffer-local
30+
" 19.11.2022 MK Hotfix for comment setting. Messed up the ':'
3031
" Usage: Use dein to install
3132
" Help Page: ft-ada-plugin
3233
"------------------------------------------------------------------------------
@@ -51,7 +52,10 @@ set cpoptions-=C
5152

5253
" Section: Comments {{{1
5354
"
54-
setlocal comments=O::--\ \ ,--
55+
" GNAT prefers comments with two spaces after the double dash. First space is
56+
" defined with `\ ` the second with the b: option.
57+
"
58+
setlocal comments=b:--\ ,O:--
5559
setlocal commentstring=--\ \ %s
5660
setlocal complete=.,w,b,u,t,i
5761

0 commit comments

Comments
 (0)