mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 05:24:46 +08:00
feat: Add astyle to fix/register.vim
This commit is contained in:
@@ -160,6 +160,11 @@ let s:default_registry = {
|
|||||||
\ 'suggested_filetypes': ['php'],
|
\ 'suggested_filetypes': ['php'],
|
||||||
\ 'description': 'Fix PHP files with php-cs-fixer.',
|
\ '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': {
|
\ 'clangtidy': {
|
||||||
\ 'function': 'ale#fixers#clangtidy#Fix',
|
\ 'function': 'ale#fixers#clangtidy#Fix',
|
||||||
\ 'suggested_filetypes': ['c', 'cpp', 'objc'],
|
\ 'suggested_filetypes': ['c', 'cpp', 'objc'],
|
||||||
|
|||||||
Reference in New Issue
Block a user