add pgformatter

This commit is contained in:
Sajjad Hashemian
2019-05-27 09:00:11 +04:30
parent bb08b81bf7
commit 8d8b295ef5
7 changed files with 62 additions and 0 deletions

View File

@@ -305,6 +305,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['tex'],
\ 'description' : 'Indent code within environments, commands, after headings and within special code blocks.',
\ },
\ 'pgformatter': {
\ 'function': 'ale#fixers#pgformatter#Fix',
\ 'suggested_filetypes': ['sql'],
\ 'description': 'A PostgreSQL SQL syntax beautifier',
\ },
\}
" Reset the function registry to the default entries.