Add support for latexindent (#2387)

This commit is contained in:
Riley Martine
2019-04-13 20:21:59 +08:00
committed by w0rp
parent f0f0cc3c18
commit 495bce32e9
6 changed files with 85 additions and 0 deletions

View File

@@ -285,6 +285,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['kt'],
\ 'description': 'Fix Kotlin files with ktlint.',
\ },
\ 'latexindent': {
\ 'function': 'ale#fixers#latexindent#Fix',
\ 'suggested_filetypes': ['tex'],
\ 'description' : 'Indent code within environments, commands, after headings and within special code blocks.',
\ },
\}
" Reset the function registry to the default entries.