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 /runtime/filetype.vim | |
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 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 965ebacdec..e7343bd6ff 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1521,6 +1521,9 @@ au BufNewFile,BufRead *.hook \ setf confini | \ endif +" Pacman log +au BufNewFile,BufRead pacman.log setf pacmanlog + " Pam conf au BufNewFile,BufRead */etc/pam.conf setf pamconf |