mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
e7f8349a2e
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: vim/vim#15414
0aa65b48fb
Co-authored-by: Adam Monsen <haircut@gmail.com>
15 lines
275 B
VimL
15 lines
275 B
VimL
" Vim filetype plugin
|
|
" Language: GoAccess configuration
|
|
" Maintainer: Adam Monsen <haircut@gmail.com>
|
|
" Last Change: 2024 Aug 1
|
|
|
|
if exists('b:did_ftplugin')
|
|
finish
|
|
endif
|
|
|
|
let b:did_ftplugin = 1
|
|
|
|
setl comments=:# commentstring=#\ %s
|
|
|
|
let b:undo_ftplugin = 'setl com< cms<'
|