nixpkgs/home/programs/neovim/configuration/ftdetect/folder_sac.vim
Daniel Siepmann 8de53581b2
Integrate gitlint via ale for SAC customer project
We have pretty simple rules.
The first line needs to match a specific pattern.
2022-03-29 13:51:59 +02:00

8 lines
320 B
VimL

augroup sacFolder
autocmd!
autocmd BufEnter **/sac/**/Configuration/**/*.typoscript :setlocal tabstop=2 shiftwidth=2
autocmd BufEnter **/sac/**/*.xlf :setlocal noexpandtab
autocmd BufEnter **/sac/**/.git/COMMIT_EDITMSG let b:ale_gitcommit_gitlint_options = '-c T7.regex="\[.*\] \w+-\d+ .*"'
augroup END