annotate runtime/syntax/help_ru.vim @ 24980:2cb78583fada v8.2.3027

patch 8.2.3027: Vim9: breakpoint in compiled function not always checked Commit: https://github.com/vim/vim/commit/2ac4b2536a40e5cd75b4ff7a3d44a282d2f4f008 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 20 20:09:42 2021 +0200 patch 8.2.3027: Vim9: breakpoint in compiled function not always checked Problem: Vim9: breakpoint in compiled function not always checked. Solution: Check for breakpoint when calling compiled function from compiled function.
author Bram Moolenaar <Bram@vim.org>
date Sun, 20 Jun 2021 20:15:02 +0200
parents bbca88cd13d5
children babd9f1dbe12
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21991
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: Russian Vim program help files *.rux
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Restorer (restorers@users.sourceforge.net)
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Last Change: 04 Aprl 2017
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 "
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 " Проверяем язык локали и установки опции 'helplang'
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 " Если не русский, то выходим из скрипта.
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 if ('ru' !~? v:lang || 'russian' !~? v:lang) && 'ru' !~? &helplang
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 finish
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 endif
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 " Подсветка русских гиперссылок
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 syntax match helpHyperTextJump "\\\@<!|[^"*~# |]\+|" contains=helpBar
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 syntax match helpHyperTextEntry "\*[^"*|]\+\*\s"he=e-1 contains=helpStar
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 syntax match helpHyperTextEntry "\*[^"*|]\+\*$" contains=helpStar
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 " Заголовок статьи, раздела и т. п.
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 syntax match helpHeadline "^[А-ЯЁ]\{2}[ .]\=[-,А-ЯЁA-Z0-9 .()]*"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 " Наименование справочника
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 " новый заголовок
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 " syntax match helpVim "\<СПРАВОЧНИК ПО РЕДАКТОРУ VIM\>"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 "старый заголовок
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25 syntax match helpVim "\<СПРАВОЧНИК ПО .*"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26 " новый заголовок
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 "syntax match helpVim "\<РУКОВОДСТВО ПОЛЬЗОВАТЕЛЯ РЕДАКТОРОМ VIM\>"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
28 "syntax match helpVim "\<автор\%[ы:] .*$"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
29 "старый заголовок
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
30 syntax match helpVim "\<РУКОВОДСТВО ПОЛЬЗОВАТЕЛЯ .*"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
31 " Подсветка примечаний в тексте, начала примеров и т.п.
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
32 syntax keyword helpNote Примечание. Совет. Пример. Примеры:
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
33 syntax keyword helpWarning Внимание!
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
34 " в старой версии документации
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
35 syntax keyword helpNote Замечание:
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
36 " в старой версии документации
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
37 syntax keyword helpWarning ВНИМАНИЕ! Предупреждение:
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
38 " Подсветка Ex-команд в документации Vim
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
39 syntax match helpCommand "\":[A-Za-z!]\+\""hs=s+1,he=e-1
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
40 " Подсветка специальных обозначений
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
41 syntax match helpSpecial "{[-а-яёА-ЯЁ0-9'":%#=[\]<>.,]\+}"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
42 syntax match helpSpecial "{[-а-яёА-ЯЁ0-9'"*+/:%#=[\]<>.,]\+}"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
43 syntax match helpSpecial "\s\[[-а-яё^А-ЯЁ0-9_]\{2,}]"ms=s+1
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
44 syntax match helpSpecial "<[-а-яёА-ЯЁ0-9_]\+>"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
45 syntax match helpSpecial "\[диапазон]"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
46 syntax match helpSpecial "\[счётчик]"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
47 syntax match helpSpecial "\[число]"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
48 syntax match helpSpecial "\[+число]"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
49 syntax match helpSpecial "\[-число]"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
50 syntax match helpSpecial "\[кол-во]"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
51 syntax match helpSpecial "\[строка]"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
52 syntax match helpSpecial "\[смещение]"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
53 syntax match helpSpecial "\[параметр]"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
54 syntax match helpSpecial "\[параметры]"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
55 syntax match helpSpecial "CTRL-{символ}"
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
56 syntax region helpNotVi start="{Доступно только" start="{В редкторе Vim" start="{В редакторе Vi" end="}" contains=helpLeadBlank,helpHyperTextJump
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
57 " Подсветка примечаний переводчика
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
58 syntax region helpTrnsNote start="\[Прим. перевод." end="]" contains=helpComment
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
59 " Определение группы подсветки Ex-команд в документации Vim
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
60 "hi def link helpCommand vimCommand
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
61 " Определение группы подсветки примечаний переводчика
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
62 hi def link helpTrnsNote Comment
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
63 " hi def link helpTrnsNote Comment
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
64 "
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
65 " vim: ts=8 sw=2