diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-04-21 16:59:42 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2025-04-21 18:40:58 +0800 |
| commit | 9fafdcb99cc90919a4b56dcf11cbd197c0aad436 (patch) | |
| tree | 4e254715da25d8c0d9882ec4f5689ed94870cd2a /runtime/lua/_vim9script.lua | |
| parent | 7da1639a14f99c75a7946f1161238c6e4abf4319 (diff) | |
vim-patch:9.1.1327: filetype: nroff detection can be improved
Problem: filetype: nroff detection can be improved
Solution: improve nroff detection (Eisuke Kawashima)
- explicitly check roff comments and macros typically found in manpages
- do not try to detect alphabetically-sectioned files, except for n, as
nroff
- l: > 'l' happens to be a section for historical reasons
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=391977>
- n: e.g. /usr/share/man/mann/Tcl.n.gz
- o: unsure (perhaps fedora-specific)
- p: unsure (perhaps fedora-specific)
closes: vim/vim#17160
https://github.com/vim/vim/commit/2cb42efc18e46402ac84fd51afe54bb48be8aea7
Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
Diffstat (limited to 'runtime/lua/_vim9script.lua')
0 files changed, 0 insertions, 0 deletions
