File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11" Vim syntax file
22" Language: 1C (BSL)
33" Maintainer: Alexander Andreev <andreevlex.as@gmail.com>
4- " Last Change: 20 /10/2016
4+ " Last Change: 22 /10/2016
55"
66" For version 5.x: Clear all syntax items
77" For version 6.x: Quit when a syntax file was already loaded
@@ -20,8 +20,8 @@ set cpo&vim
2020syn case ignore
2121syn sync lines =250
2222
23- syn match keyword_operator_punctuation_bsl " \( [\[\] :(),;]\) "
24- syn match keyword_operator_bsl " [-+/*%=<>.?]"
23+ syn match keyword_operator_punctuation_bsl display " [\[\] :(),;]"
24+ syn match keyword_operator_bsl display " [-+/*%=<>.?]"
2525
2626" Поддержка 1c-query
2727syntax include @bslSDBL <sfile> :p:h/sdbl.vim
@@ -30,8 +30,8 @@ unlet b:current_syntax
3030syn region comment_line_double_slash_bsl start =" //" end =" $"
3131syn region string_quoted_double_bsl matchgroup =bslStrings start =+ "+ end =+ "+ contains =source_sdbl
3232syn region source_sdbl start =" \( [^0-9a-zа-яё._]\@ <=\| ^\)\( Выбрать\| Select\(\s\+ Разрешенные\| Allowed\)\?\(\s\+ Различные\| Distinct\)\?\(\s\+ Первые\| Top\)\?\)\( [^0-9a-zа-яё._]\@ =\| $\) " end =" \(\(\" [^\" ]\)\@ =\) " contains =@bslSDBL transparent
33- syn match constant_numeric_bsl " -\=\<\d\+\> "
34- syn match constant_float_bsl " -\=\<\d\+\.\d\+\> "
33+ syn match constant_numeric_bsl display " -\=\<\d\+\> "
34+ syn match constant_float_bsl display " -\=\<\d\+\.\d\+\> "
3535syn match constant_other_date_bsl " \'\(\(\d {4}[^\d\' ]*\d {2}[^\d\' ]*\d {2}\)\( [^\d\' ]*\d {2}[^\d\' ]*\d {2}\( [^\d\' ]*\d {2}\)\?\)\?\)\' "
3636
3737" --- Keywords ---
Original file line number Diff line number Diff line change 11" Vim syntax file
22" Language: 1C (SDBL)
33" Maintainer: Alexander Andreev <andreevlex.as@gmail.com>
4- " Last Change: 19 /10/2016
4+ " Last Change: 22 /10/2016
55"
66" For version 5.x: Clear all syntax items
77" For version 6.x: Quit when a syntax file was already loaded
@@ -14,14 +14,14 @@ endif
1414syn case ignore
1515syn sync lines =250
1616
17- syn match keyword_operator_punctuation_sdbl " [,;]"
18- syn match keyword_operator_sdbl " [-+/*%=<>]"
17+ syn match keyword_operator_punctuation_sdbl display " [,;]"
18+ syn match keyword_operator_sdbl display " [-+/*%=<>]"
1919syn region comment_line_double_slash_sdbl start =" //" end =" $"
2020syn region string_quoted_double_sdbl start =+ \" + end =+ \"\( ["]\)\@ !+ contains =constant_character_escape_sdbl,comment_line_double_slash_sdbl
2121syn match constant_character_escape_sdbl + \"\" +
2222syn match constant_language_sdbl " \( [^.]\@ <=\| ^\)\<\( Неопределено\| Undefined\| Истина\| True\| Ложь\| False\| NULL\)\>\( [^.]\@ =\| $\) "
23- syn match constant_numeric_bsl " -\=\<\d\+\> "
24- syn match constant_float_bsl " -\=\<\d\+\.\d\+\> "
23+ syn match constant_numeric_bsl display " -\=\<\d\+\> "
24+ syn match constant_float_bsl display " -\=\<\d\+\.\d\+\> "
2525syn match variable_parameter_sdbl " \( &[a-z0-9_а-яё]\+\) "
2626syn match keyword_control_conditional_sdbl " \( [^.]\@ <=\| ^\)\<\( Выбор\| Case\| Когда\| When\| Тогда\| Then\| Иначе\| Else\| Конец\| End\)\>\( [^.]\@ =\| $\) "
2727syn match keyword_operator_logical_sdbl " \(\( КАК\s\| AS\s\)\@ <!\)\( [^.]\@ <=\| ^\)\<\( НЕ\| NOT\| И\| AND\| ИЛИ\| OR\| В\s\+ ИЕРАРХИИ\| IN\s\+ HIERARCHY\| В\| In\| Между\| Between\| Есть\s NULL\| Is\s\+ NULL\| Ссылка\| Refs\| Подобно\| Like\)\>\( [^.]\@ =\| $\) "
You can’t perform that action at this time.
0 commit comments