diff options
author | Ronan Pigott <ronan@rjp.ie> | 2023-12-04 20:46:15 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-12-04 20:46:15 +0100 |
commit | 1e5d66408ef85c750a5af03bbf5cc19b5de7a6bc (patch) | |
tree | 3b5cab656e15b35794025dcf84abccd94772dcce /src | |
parent | ca2eca7c79bbb1afe4c4bb0a4ed8b18c72d581bf (diff) |
patch 9.0.2148: Vim does not detect pacman.log filev9.0.2148
Problem: Vim does not detect pacman.log file
Solution: Detect pacmanlogs and add syntax highlighting
pacman.log is a filetype common to Arch Liux and related distributions.
Add some simple syntax highlighting for the pacmanlog filetype.
closes: #13618
Signed-off-by: Ronan Pigott <ronan@rjp.ie>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_filetype.vim | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 08662e6c11..f51cd719fb 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -511,6 +511,7 @@ def s:GetFilenameChecks(): dict<list<string>> opl: ['file.OPL', 'file.OPl', 'file.OpL', 'file.Opl', 'file.oPL', 'file.oPl', 'file.opL', 'file.opl'], ora: ['file.ora'], org: ['file.org', 'file.org_archive'], + pacmanlog: ['pacman.log'], pamconf: ['/etc/pam.conf', '/etc/pam.d/file', 'any/etc/pam.conf', 'any/etc/pam.d/file'], pamenv: ['/etc/security/pam_env.conf', '/home/user/.pam_environment', '.pam_environment', 'pam_env.conf'], papp: ['file.papp', 'file.pxml', 'file.pxsl'], diff --git a/src/version.c b/src/version.c index 87bda1feb0..2c09227901 100644 --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2148, +/**/ 2147, /**/ 2146, |