mirror of
https://github.com/dense-analysis/ale
synced 2024-12-18 12:25:17 +00:00
14350dbb0d
Make a series of sweeping changes to make :ALEInfo more useful. 1. Deprecate :ALEInfoToClipboard and support :ALEInfo -clipboard 2. Permit :ALEInfo -clip as a shorthand for :ALEInfo -clipboard 3. Support :ALEInfo -preview to render in the preview window 4. Support :ALEInfo -echo for the classic :ALEInfo mode 5. Change the default mode to 'preview', and make it configurable 6. Add syntax highlighting for ALEInfo in preview mode 7. Add a convenience to look up documentatation that explains itself 8. Don't show an empty 'Linter Variables' section
14 lines
329 B
VimL
14 lines
329 B
VimL
if exists('b:current_syntax')
|
|
finish
|
|
endif
|
|
|
|
syn match aleFixerComment /^.*$/
|
|
syn match aleFixerName /\(^ *\|, \)'[^']*'/
|
|
syn match aleFixerHelp /^See :help ale-fix-configuration/
|
|
|
|
hi def link aleFixerComment Comment
|
|
hi def link aleFixerName String
|
|
hi def link aleFixerHelp Statement
|
|
|
|
let b:current_syntax = 'ale-fix-suggest'
|