From 6c58164094ec5b2a4304af8f132d4eecb8e6ff5d Mon Sep 17 00:00:00 2001 From: jhlink Date: Fri, 10 Jul 2020 17:47:01 -0400 Subject: [PATCH] feat: Add astyle to fix/register.vim --- autoload/ale/fix/registry.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/autoload/ale/fix/registry.vim b/autoload/ale/fix/registry.vim index 1b3ca1a8..02b02699 100644 --- a/autoload/ale/fix/registry.vim +++ b/autoload/ale/fix/registry.vim @@ -160,6 +160,11 @@ let s:default_registry = { \ 'suggested_filetypes': ['php'], \ 'description': 'Fix PHP files with php-cs-fixer.', \ }, +\ 'astyle': { +\ 'function': 'ale#fixers#astyle#Fix', +\ 'suggested_filetypes': ['c', 'cpp'], +\ 'description': 'Fix C/C++ with astyle.', +\ }, \ 'clangtidy': { \ 'function': 'ale#fixers#clangtidy#Fix', \ 'suggested_filetypes': ['c', 'cpp', 'objc'],