Mercurial > vim
comparison runtime/ftplugin/goaccess.vim @ 35889:625dcbcc4f71 v9.1.0655
patch 9.1.0655: filetype: goaccess config file not recognized
Commit: https://github.com/vim/vim/commit/0aa65b48fbe64e18a767b207802483026baecb5d
Author: Adam Monsen <haircut@gmail.com>
Date: Fri Aug 2 19:54:15 2024 +0200
patch 9.1.0655: filetype: goaccess config file not recognized
Problem: filetype: goaccess config file not recognized
Solution: detect 'goaccess.conf' as goaccess filetype, also
include a basic syntax and ftplugin (Adam Monsen)
Add syntax highlighting for GoAccess configuration file.
GoAccess is a real-time web log analyzer and interactive viewer that
runs in a terminal in *nix systems or through your browser.
GoAccess home page: https://goaccess.io
closes: #15414
Signed-off-by: Adam Monsen <haircut@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 02 Aug 2024 20:15:04 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
35888:db43ec5cb82f | 35889:625dcbcc4f71 |
---|---|
1 " Vim filetype plugin | |
2 " Language: GoAccess configuration | |
3 " Maintainer: Adam Monsen <haircut@gmail.com> | |
4 " Last Change: 2024 Aug 1 | |
5 | |
6 if exists('b:did_ftplugin') | |
7 finish | |
8 endif | |
9 | |
10 let b:did_ftplugin = 1 | |
11 | |
12 setl comments=:# commentstring=#\ %s | |
13 | |
14 let b:undo_ftplugin = 'setl com< cms<' |