From d0b7a6e71fb6293c104ff3a56cabcb5cfde9f065 Mon Sep 17 00:00:00 2001 From: jhlink Date: Fri, 10 Jul 2020 19:06:22 -0400 Subject: [PATCH] doc: Remove c++ from astyle --- autoload/ale/fix/registry.vim | 4 ++-- autoload/ale/fixers/astyle.vim | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/autoload/ale/fix/registry.vim b/autoload/ale/fix/registry.vim index 02b02699..84da181e 100644 --- a/autoload/ale/fix/registry.vim +++ b/autoload/ale/fix/registry.vim @@ -162,8 +162,8 @@ let s:default_registry = { \ }, \ 'astyle': { \ 'function': 'ale#fixers#astyle#Fix', -\ 'suggested_filetypes': ['c', 'cpp'], -\ 'description': 'Fix C/C++ with astyle.', +\ 'suggested_filetypes': ['c'], +\ 'description': 'Fix C with astyle.', \ }, \ 'clangtidy': { \ 'function': 'ale#fixers#clangtidy#Fix', diff --git a/autoload/ale/fixers/astyle.vim b/autoload/ale/fixers/astyle.vim index 3ee48031..9a837396 100644 --- a/autoload/ale/fixers/astyle.vim +++ b/autoload/ale/fixers/astyle.vim @@ -1,5 +1,5 @@ " Author: James Kim -" Description: Fix C/C++ files with astyle. +" Description: Fix C files with astyle. call ale#Set('c_astyle_executable', 'astyle')