All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
1 if exists('b:current_syntax')
5 " Exhaustively list different ALE Info directives to match here.
6 " This should hopefully avoid matching too eagerly.
7 syn match aleInfoDirective /^ *Current Filetype:/
8 syn match aleInfoDirective /^ *Available Linters:/
9 syn match aleInfoDirective /^ *Enabled Linters:/
10 syn match aleInfoDirective /^ *Ignored Linters:/
11 syn match aleInfoDirective /^ *Suggested Fixers:/
12 syn match aleInfoDirective /^ *Command History:/
14 syn match aleCommandNoOutput /^<<<NO OUTPUT RETURNED>>>$/
16 hi def link aleInfoDirective Title
17 hi def link aleInfoDirective Title
18 hi def link aleCommandNoOutput Comment
20 " Use Vim syntax highlighting for Vim options.
21 unlet! b:current_syntax
22 syntax include @srcVim syntax/vim.vim
23 syntax region aleInfoVimRegionLinter matchgroup=aleInfoDirective start="^ *Linter Variables:$" end="^ $" contains=@srcVim
24 syntax region aleInfoVimRegionGlobal matchgroup=aleInfoDirective start="^ *Global Variables:$" end="^ $" contains=@srcVim
26 unlet! b:current_syntax
27 syntax include @srcAleFixSuggest syntax/ale-fix-suggest.vim
28 syntax region aleInfoFixSuggestRegion matchgroup=aleInfoDirective start="^ *Suggested Fixers:$" end="^ $" contains=@srcAleFixSuggest
30 let b:current_syntax = 'ale-info'