diff options
| author | Mitermayer Reis <mitermayer.reis@gmail.com> | 2020-08-03 16:53:29 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-03 16:53:29 +1000 |
| commit | 6ec1cc07763d4a6183c99253cc82a9854c9ab278 (patch) | |
| tree | feb4d83efd6852f06295d6e3eb5503e901c51e61 /ftplugin/ruby.vim | |
| parent | 674360e9df699b959e38127bc7f15a89c1502f68 (diff) | |
| parent | 154cf2e639280121e0e3de7fbeb7a55d1361ce70 (diff) | |
| download | vim-prettier-6ec1cc07763d4a6183c99253cc82a9854c9ab278.tar.xz | |
Merge pull request #235 from jamesbvaughan/jamesbvaughan/ruby-filetype
Autoformat .rb files
Diffstat (limited to 'ftplugin/ruby.vim')
| -rw-r--r-- | ftplugin/ruby.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/ruby.vim b/ftplugin/ruby.vim index f93997d..53d13cf 100644 --- a/ftplugin/ruby.vim +++ b/ftplugin/ruby.vim @@ -4,5 +4,5 @@ let b:prettier_ft_default_args = { augroup Prettier autocmd! - autocmd BufWritePre *.ruby call prettier#Autoformat() + autocmd BufWritePre *.rb,*.ruby call prettier#Autoformat() augroup end |
