mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 21:55:17 -07:00
c89150241d
This commit makaes the following changes to the vim help syntax:
- fix excessive URL detection in help, because `file:{filename}` in
doc/options.txt is determined to be a URL.
- update highlighting N for :resize in help
- split Italian-specific syntax into separate help script
- highlight `Note` in parentheses in help
- update 'titlestring' behaviour in documentation for invalid '%' format
closes: vim/vim#15883
6c2fc377bf
Co-authored-by: Milly <milly.ca@gmail.com>
18 lines
661 B
VimL
18 lines
661 B
VimL
" Vim syntax file
|
|
" Language: Italian Vim program help files *.itx
|
|
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
|
" Last Change: 2024 Oct 16
|
|
"
|
|
" This script is sourced from syntax/help.vim.
|
|
|
|
syn keyword helpNote nota Nota NOTA nota: Nota: NOTA: notare Notare NOTARE notare: Notare: NOTARE:
|
|
syn match helpNote "\c(nota\(:\|\>\)"ms=s+1
|
|
syn match helpSpecial "Nma"me=e-2
|
|
syn match helpSpecial "Nme"me=e-2
|
|
syn match helpSpecial "Nmi"me=e-2
|
|
syn match helpSpecial "Nmo"me=e-2
|
|
syn match helpSpecial "\[interv.]"
|
|
syn region helpNotVi start="{non" start="{solo" start="{disponibile" end="}" contains=helpLeadBlank,helpHyperTextJump
|
|
|
|
" vim: ts=8 sw=2
|