Patch 8.2.1776
Problem: Filetype.vim may be loaded twice.
Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz,
closes #7049)
Files: runtime/defaults.vim
*** ../vim-8.2.1775/runtime/defaults.vim 2019-10-27 18:41:21.000000000
+0100
--- runtime/defaults.vim 2020-09-30 22:42:55.391841318 +0200
***************
*** 85,101 ****
endif
endif
- " Switch syntax highlighting on when the terminal has colors or when using the
- " GUI (which always has colors).
- if &t_Co > 2 || has("gui_running")
- " Revert with ":syntax off".
- syntax on
-
- " I like highlighting strings inside C comments.
- " Revert with ":unlet c_comment_strings".
- let c_comment_strings=1
- endif
-
" Only do this part when Vim was compiled with the +eval feature.
if 1
--- 85,90 ----
***************
*** 124,129 ****
--- 113,129 ----
endif
+ " Switch syntax highlighting on when the terminal has colors or when using the
+ " GUI (which always has colors).
+ if &t_Co > 2 || has("gui_running")
+ " Revert with ":syntax off".
+ syntax on
+
+ " I like highlighting strings inside C comments.
+ " Revert with ":unlet c_comment_strings".
+ let c_comment_strings=1
+ endif
+
" Convenient command to see the difference between the current buffer and the
" file it was loaded from, thus the changes you made.
" Only define it when not defined already.
*** ../vim-8.2.1775/src/version.c 2020-09-29 22:46:59.955728630 +0200
--- src/version.c 2020-09-30 22:44:26.835527604 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 1776,
/**/
--
hundred-and-one symptoms of being an internet addict:
27. You refer to your age as 3.x.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202009302050.08UKo8QK1065774%40masaka.moolenaar.net.