Mercurial > dotfiles
comparison dot_config/nvim/autoload/neoformat/formatters/systemverilog.vim @ 272:2789ed06da9d
Add verible configuration for neoformat
author | zegervdv <zegervdv@me.com> |
---|---|
date | Mon, 27 Jul 2020 17:40:44 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
271:febfe1fb290c | 272:2789ed06da9d |
---|---|
1 function! neoformat#formatters#systemverilog#enabled() abort | |
2 return ['verible'] | |
3 endfunction | |
4 | |
5 function! neoformat#formatters#systemverilog#verible() abort | |
6 return { | |
7 \ 'exe': 'verilog_format', | |
8 \ 'args': ['-', '--format_module_instantiations'], | |
9 \ 'stdin': 1 | |
10 \ } | |
11 endfunction |