configure tex in vim

This commit is contained in:
Tim Schubert 2022-06-25 00:57:05 +02:00
parent 21d7e234d5
commit 4abaeff6b2
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
2 changed files with 7 additions and 0 deletions

View file

@ -36,6 +36,7 @@ in
nixpkgs-fmt
shellcheck
perlPackages.PerlCritic
texlab
];
};
}

View file

@ -0,0 +1,6 @@
setlocal expandtab
setlocal shiftwidth=2
setlocal softtabstop=2
let b:ale_linters = {'tex': ['texlab']}
let b:ale_fixers = {'tex': ['remove_trailing_lines', 'trim_whitespace', 'texlab']}