Integrate gitlint via ale into Neovim for writing commit message
This is only done for one customer yet, as this customer has clean rules which are already provided as community rules via gitlint.
This commit is contained in:
parent
939f80dba9
commit
3b3f2d0588
|
@ -333,6 +333,7 @@ in {
|
||||||
+ ''
|
+ ''
|
||||||
|
|
||||||
let g:ale_xml_xmllint_executable = '${pkgs.libxml2}/bin/xmllint'
|
let g:ale_xml_xmllint_executable = '${pkgs.libxml2}/bin/xmllint'
|
||||||
|
let g:ale_gitcommit_gitlint_executable = '${pkgs.gitlint}/bin/gitlint'
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ augroup reuterFolder
|
||||||
autocmd BufEnter **/emoto2/**/Unit/** execute "call ReuterSetupPhpUnitUnit()"
|
autocmd BufEnter **/emoto2/**/Unit/** execute "call ReuterSetupPhpUnitUnit()"
|
||||||
autocmd BufEnter **/emoto2/**/Functional/** execute "call ReuterSetupPhpUnitFunctional()"
|
autocmd BufEnter **/emoto2/**/Functional/** execute "call ReuterSetupPhpUnitFunctional()"
|
||||||
autocmd BufEnter **/microservices/cms/**/*.js :setlocal tabstop=2 shiftwidth=2
|
autocmd BufEnter **/microservices/cms/**/*.js :setlocal tabstop=2 shiftwidth=2
|
||||||
|
autocmd BufEnter **/emoto2/**/.git/COMMIT_EDITMSG let b:ale_gitcommit_gitlint_options = '-c general.contrib=contrib-title-conventional-commits'
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
" As long as we use older phpunit which does not provider proper testdox output
|
" As long as we use older phpunit which does not provider proper testdox output
|
||||||
|
|
Loading…
Reference in a new issue