Mercurial > vim
comparison src/testdir/test_filetype.vim @ 34873:1707288c0b15 v9.1.0303
patch 9.1.0303: filetype: some protocol buffer files not recognized
Commit: https://github.com/vim/vim/commit/e54a8e7c73bbfba0c77e928f27fb3a9bffd2e8fd
Author: Bruno BELANYI <bruno@belanyi.fr>
Date: Wed Apr 10 22:34:42 2024 +0200
patch 9.1.0303: filetype: some protocol buffer files not recognized
Problem: filetype: some protocol buffer files not recognized
Solution: Detect '*.textproto', '*.textpb', '*.txtpb' as pbtxt files
(Bruno Belanyi)
See: https://protobuf.dev/reference/protobuf/textformat-spec/#text-format-files
closes: #14463
Signed-off-by: Bruno BELANYI <bruno@belanyi.fr>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 10 Apr 2024 22:45:04 +0200 |
parents | 23dc393eadc7 |
children | af649de78695 |
comparison
equal
deleted
inserted
replaced
34872:d8c90ada53f5 | 34873:1707288c0b15 |
---|---|
520 pamenv: ['/etc/security/pam_env.conf', '/home/user/.pam_environment', '.pam_environment', 'pam_env.conf'], | 520 pamenv: ['/etc/security/pam_env.conf', '/home/user/.pam_environment', '.pam_environment', 'pam_env.conf'], |
521 pandoc: ['file.pandoc', 'file.pdk', 'file.pd', 'file.pdc'], | 521 pandoc: ['file.pandoc', 'file.pdk', 'file.pd', 'file.pdc'], |
522 papp: ['file.papp', 'file.pxml', 'file.pxsl'], | 522 papp: ['file.papp', 'file.pxml', 'file.pxsl'], |
523 pascal: ['file.pas', 'file.dpr', 'file.lpr'], | 523 pascal: ['file.pas', 'file.dpr', 'file.lpr'], |
524 passwd: ['any/etc/passwd', 'any/etc/passwd-', 'any/etc/passwd.edit', 'any/etc/shadow', 'any/etc/shadow-', 'any/etc/shadow.edit', 'any/var/backups/passwd.bak', 'any/var/backups/shadow.bak', '/etc/passwd', '/etc/passwd-', '/etc/passwd.edit', '/etc/shadow', '/etc/shadow-', '/etc/shadow.edit', '/var/backups/passwd.bak', '/var/backups/shadow.bak'], | 524 passwd: ['any/etc/passwd', 'any/etc/passwd-', 'any/etc/passwd.edit', 'any/etc/shadow', 'any/etc/shadow-', 'any/etc/shadow.edit', 'any/var/backups/passwd.bak', 'any/var/backups/shadow.bak', '/etc/passwd', '/etc/passwd-', '/etc/passwd.edit', '/etc/shadow', '/etc/shadow-', '/etc/shadow.edit', '/var/backups/passwd.bak', '/var/backups/shadow.bak'], |
525 pbtxt: ['file.pbtxt'], | 525 pbtxt: ['file.txtpb', 'file.textproto', 'file.textpb', 'file.pbtxt'], |
526 pccts: ['file.g'], | 526 pccts: ['file.g'], |
527 pcmk: ['file.pcmk'], | 527 pcmk: ['file.pcmk'], |
528 pdf: ['file.pdf'], | 528 pdf: ['file.pdf'], |
529 pem: ['file.pem', 'file.cer', 'file.crt', 'file.csr'], | 529 pem: ['file.pem', 'file.cer', 'file.crt', 'file.csr'], |
530 perl: ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc', '.gitolite.rc', 'example.gitolite.rc', '.latexmkrc', 'latexmkrc'], | 530 perl: ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc', '.gitolite.rc', 'example.gitolite.rc', '.latexmkrc', 'latexmkrc'], |