Mercurial > vim
annotate runtime/keymap/polish-slash.vim @ 35152:c30ec6598fc9 default tip
runtime(java): Stop handpicking syntax groups for @javaTop (#14727)
Commit: https://github.com/vim/vim/commit/06bdac158072b90560915f8e664ee6d9bdab2f9b
Author: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com>
Date: Fri May 10 15:49:06 2024 +0300
runtime(java): Stop handpicking syntax groups for @javaTop (https://github.com/vim/vim/issues/14727)
* runtime(java): Stop handpicking syntax groups for @javaTop
Also:
- Remove the obsolete comment for g:java_allow_cpp_keywords.
- Remove the commented out groups java\%[Debug\]StringError.
- Infer and set the preferred formatting Vim options from
the modeline.
Since vim-6-0u, non-contained syntax groups can be referred
to by using the "contains=TOP..." argument.
* Set &encoding and &termencoding to "utf-8" for test files
* Limit non-ASCII charset to [???????-??-?] for test files
Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 10 May 2024 15:00:06 +0200 |
parents | 8cd729851562 |
children |
rev | line source |
---|---|
99 | 1 " Polish letters under VIM >= 6 |
2 " Maintainer: HS6_06 <hs6_06@o2.pl> | |
3 " Last changed: 2005 Jan 12 | |
4 " Current version: 1.0.2 | |
856 | 5 " History: |
99 | 6 " 2005.01.12 1.0.2 keymap_name shortened, added Current version, History |
7 " 2005.01.10 1.0.1 un*x line ends for all files | |
8 " 2005.01.09 1.0.0 Initial release | |
9 | |
96 | 10 let encoding = &enc |
11 if encoding == 'latin1' | |
12 if has("unix") | |
13 let encoding = 'iso-8859-2' | |
14 else | |
15 let encoding = 'cp1250' | |
16 endif | |
17 endif | |
18 | |
19 if encoding == 'utf-8' | |
20 source <sfile>:p:h/polish-slash_utf-8.vim | |
21 elseif encoding == 'cp1250' | |
22 source <sfile>:p:h/polish-slash_cp1250.vim | |
23 elseif encoding == 'iso-8859-2' | |
24 source <sfile>:p:h/polish-slash_iso-8859-2.vim | |
25 else | |
26 source <sfile>:p:h/polish-slash_cp852.vim | |
27 endif |