configure tex in vim
This commit is contained in:
parent
21d7e234d5
commit
4abaeff6b2
2 changed files with 7 additions and 0 deletions
|
@ -36,6 +36,7 @@ in
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
shellcheck
|
shellcheck
|
||||||
perlPackages.PerlCritic
|
perlPackages.PerlCritic
|
||||||
|
texlab
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
6
pkgs/vimPlugins/filetype/ftplugin/tex.vim
Normal file
6
pkgs/vimPlugins/filetype/ftplugin/tex.vim
Normal 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']}
|
Loading…
Add table
Add a link
Reference in a new issue