Add new fixer: TrimWhitespace (#991)

add a new fixer: trim_whitespace
This commit is contained in:
Carlos Ramos authored and w0rp committed 2017-10-12 09:27:24 +01:00
1 parent 02c8793c53
commit 844354cfed
3 files changed
+46

No files matched your search

+5
View File
@@ -57,6 +57,11 @@ let s:default_registry = {
\ 'suggested_filetypes': [],
\ 'description': 'Remove all blank lines at the end of a file.',
\ },
\ 'trim_whitespace': {
\ 'function': 'ale#fixers#generic#TrimWhitespace',
\ 'suggested_filetypes': [],
\ 'description': 'Remove all trailing whitespace characters at the end of every line.',
\ },
\ 'yapf': {
\ 'function': 'ale#fixers#yapf#Fix',
\ 'suggested_filetypes': ['python'],