summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/ftplugin/tex.vim
blob: 04307e4065ed307f274717f4a88cd371a0ec51a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
call sandwich#util#addlocal([{
    \ 'buns': ['\textbf{', '}'],
    \ 'input': ['B'],
\ }])

call sandwich#util#addlocal([{
    \ 'buns': ['\emph{', '}'],
    \ 'input': ['E'],
\ }])

call sandwich#util#addlocal([{
    \ 'buns': ['\texttt{', '}'],
    \ 'input': ['T'],
\ }])

call sandwich#util#addlocal([{
    \ 'buns': ['\enquote{', '}'],
    \ 'input': ['"'],
\ }])

let b:ale_linters = ['chktex', 'texlab', 'proselint']
let b:ale_fixers = ['latexindent']