Skip to content

jiz4oh/ale-autocorrect.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ale-autocorrect.vim

Add autocorrect support for ALE

Installation

If you don't have a preferred installation method, I recommend install vim-plug, and then add following codes.

Plug 'jiz4oh/ale-autocorrect.vim'

Configuration

ALE linters are automatically run without any configurations in most filetypes. But some filetypes have been defined a default linters e.g python, go. You can found more detail by :h ale_linters, and add following codes into your vimrc if you are work with those filetypes.

" For example, you can enable only `autocorrect` for Python files
let g:ale_linters = { 'python': ['autocorrect'] }

If you need fix by ALE, add following codes into your vimrc.

" For example, enable only `autocorrect` for Python files
let g:ale_fixers = { 'python': ['autocorrect'] }

License

This project under MIT license.

About

autocorrect linter for ale

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published