Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 957 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 957 Bytes

ddc-ale

ALE source for ddc.vim.

Requirements

You also need denops.vim (https://github.com/vim-denops/denops.vim) to use ddc.vim, which depends on Deno (https://deno.land/). For more installation details, please refer to each plugin's README.

Example

# Enable ALE source
call ddc#custom#patch_global('sources', ['ale'])

# Option: cleanResultsWhitespace
call ddc#custom#patch_global('sourceParams',
    \ {'ale': {'cleanResultsWhitespace': v:false}})

Options

  • cleanResultsWhitespace

    Default: v:false

    Whether it should remove the trailing whitespaces of each candidate returned by ALE.

    Usually you don't need to turn on this option Some LSPs (such as Rust Analyzer) returne words containing trailing whitespaces. If you feel that's unpleasant, you can fix the whitespace by turning this option to v:true.