-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into tabsidebar
- Loading branch information
Showing
11 changed files
with
130 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
" Vim filetype plugin | ||
" Language: GoAccess configuration | ||
" Maintainer: Adam Monsen <[email protected]> | ||
" 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<' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
" Vim syntax file | ||
" Language: GoAccess configuration | ||
" Maintainer: Adam Monsen <[email protected]> | ||
" Last Change: 2024 Aug 1 | ||
" Remark: see https://goaccess.io/man#configuration | ||
" | ||
" The GoAccess configuration file syntax is line-separated settings. Settings | ||
" are space-separated key value pairs. Comments are any line starting with a | ||
" hash mark. | ||
" Example: https://github.com/allinurl/goaccess/blob/master/config/goaccess.conf | ||
" | ||
" This syntax definition supports todo/fixme highlighting in comments, and | ||
" special (Keyword) highlighting if a setting's value is 'true' or 'false'. | ||
" | ||
" TODO: a value is required, so use extreme highlighting (e.g. bright red | ||
" background) if a setting is missing a value. | ||
|
||
if exists("b:current_syntax") | ||
finish | ||
endif | ||
|
||
syn match goaccessSettingName '^[a-z-]\+' nextgroup=goaccessSettingValue | ||
syn match goaccessSettingValue '\s\+.\+$' contains=goaccessKeyword | ||
syn match goaccessComment "^#.*$" contains=goaccessTodo,@Spell | ||
syn keyword goaccessTodo TODO FIXME contained | ||
syn keyword goaccessKeyword true false contained | ||
|
||
hi def link goaccessSettingName Type | ||
hi def link goaccessSettingValue String | ||
hi def link goaccessComment Comment | ||
hi def link goaccessTodo Todo | ||
hi def link goaccessKeyword Keyword | ||
|
||
let b:current_syntax = "goaccess" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters