view runtime/syntax/help_ru.vim @ 33293:42b89193ab3e v9.0.1912

patch 9.0.1912: Cirrus-CI running out of credits Commit: https://github.com/vim/vim/commit/6f00d17e8d64ed46c85625e8ac38ed0928b32c58 Author: Christian Brabandt <cb@256bit.org> Date: Tue Sep 19 20:16:46 2023 +0200 patch 9.0.1912: Cirrus-CI running out of credits Problem: Cirrus-CI running out of credits Solution: disable Cirrus-CI for now We are running out of credits for Cirrus CI already at the middle of the month and unfortunately this means our CI now consistently fails. This all hapens because cirrus ci is not enforcing the free-tier limits (see also https://cirrus-ci.org/blog/2023/07/17/limiting-free-usage-of-cirrus-ci/). Perhaps at the beginning of the next month we can revisit and enable just a build without testing it. Hopefully this is won't take too many credits and we can at least verify that building works. Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Tue, 19 Sep 2023 20:30:10 +0200
parents babd9f1dbe12
children
line wrap: on
line source

" Vim syntax file
" Language:     Russian Vim program help files *.rux
" Maintainer:   Restorer (restorers@users.sourceforge.net DEFUNCT)
" Last Change:  04 Aprl 2017
" 

" Проверяем язык локали и установки опции 'helplang'
" Если не русский, то выходим из скрипта.
if (v:lang !~? 'ru' || v:lang !~? 'russian') && &helplang !~? 'ru'
  finish
endif

" Подсветка русских гиперссылок
syntax match helpHyperTextJump	"\\\@<!|[^"*~# |]\+|" contains=helpBar
syntax match helpHyperTextEntry	"\*[^"*|]\+\*\s"he=e-1 contains=helpStar
syntax match helpHyperTextEntry	"\*[^"*|]\+\*$" contains=helpStar

" Заголовок статьи, раздела и т. п.
syntax match helpHeadline   "^[А-ЯЁ]\{2}[ .]\=[-,А-ЯЁA-Z0-9 .()]*"

" Наименование справочника
" новый заголовок
" syntax match helpVim      "\<СПРАВОЧНИК ПО РЕДАКТОРУ VIM\>"
"старый заголовок
syntax match helpVim      "\<СПРАВОЧНИК ПО .*"
" новый заголовок
"syntax match helpVim      "\<РУКОВОДСТВО ПОЛЬЗОВАТЕЛЯ РЕДАКТОРОМ VIM\>"
"syntax match helpVim      "\<автор\%[ы:] .*$"
"старый заголовок
syntax match helpVim      "\<РУКОВОДСТВО ПОЛЬЗОВАТЕЛЯ .*"
" Подсветка примечаний в тексте, начала примеров и т.п.
syntax keyword helpNote     Примечание. Совет. Пример. Примеры:
syntax keyword helpWarning   Внимание!
" в старой версии документации
syntax keyword helpNote     Замечание:
" в старой версии документации
syntax keyword helpWarning   ВНИМАНИЕ! Предупреждение:
" Подсветка Ex-команд в документации Vim
syntax match helpCommand     "\":[A-Za-z!]\+\""hs=s+1,he=e-1
" Подсветка специальных обозначений
syntax match helpSpecial    "{[-а-яёА-ЯЁ0-9'":%#=[\]<>.,]\+}"
syntax match helpSpecial    "{[-а-яёА-ЯЁ0-9'"*+/:%#=[\]<>.,]\+}"
syntax match helpSpecial    "\s\[[-а-яё^А-ЯЁ0-9_]\{2,}]"ms=s+1
syntax match helpSpecial    "<[-а-яёА-ЯЁ0-9_]\+>"
syntax match helpSpecial    "\[диапазон]"
syntax match helpSpecial    "\[счётчик]"
syntax match helpSpecial    "\[число]"
syntax match helpSpecial    "\[+число]"
syntax match helpSpecial    "\[-число]"
syntax match helpSpecial    "\[кол-во]"
syntax match helpSpecial    "\[строка]"
syntax match helpSpecial    "\[смещение]"
syntax match helpSpecial    "\[параметр]"
syntax match helpSpecial    "\[параметры]"
syntax match helpSpecial    "CTRL-{символ}"
syntax region helpNotVi     start="{Доступно только" start="{В редкторе Vim" start="{В редакторе Vi" end="}" contains=helpLeadBlank,helpHyperTextJump
" Подсветка примечаний переводчика
syntax region helpTrnsNote  start="\[Прим. перевод." end="]" contains=helpComment
" Определение группы подсветки Ex-команд в документации Vim
"hi def link helpCommand     vimCommand
" Определение группы подсветки примечаний переводчика
hi def link helpTrnsNote    Comment
" hi def link helpTrnsNote    Comment
"
" vim: ts=8 sw=2