]> git.madduck.net Git - etc/vim.git/blob - .vim/bundle/ale/syntax/ale-info.vim

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

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.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Do not set EDITOR/VISUAL for shell
[etc/vim.git] / .vim / bundle / ale / syntax / ale-info.vim
1 if exists('b:current_syntax')
2     finish
3 endif
4
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:/
13
14 syn match aleCommandNoOutput /^<<<NO OUTPUT RETURNED>>>$/
15
16 hi def link aleInfoDirective Title
17 hi def link aleInfoDirective Title
18 hi def link aleCommandNoOutput Comment
19
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
25
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
29
30 let b:current_syntax = 'ale-info'