mirror of
https://github.com/vim-latex/vim-latex.git
synced 2026-05-26 11:24:23 +02:00
6f98bde52a
Now, all the IMAPs with ft='tex' will only appear as imaps in buffers with ft=tex.
21 lines
510 B
VimL
21 lines
510 B
VimL
" LaTeX filetype
|
|
" Language: LaTeX (ft=tex)
|
|
" Maintainer: Srinath Avadhanula
|
|
" Email: srinath@fastmail.fm
|
|
|
|
if exists('b:suppress_latex_suite') && b:suppress_latex_suite == 1
|
|
finish
|
|
endif
|
|
|
|
if !exists('s:initLatexSuite')
|
|
let s:initLatexSuite = 1
|
|
exec 'so '.fnameescape(expand('<sfile>:p:h').'/latex-suite/main.vim')
|
|
|
|
silent! do LatexSuite User LatexSuiteInitPost
|
|
endif
|
|
|
|
silent! do LatexSuite User LatexSuiteFileType
|
|
|
|
" Infect the current buffer with <buffer>-local imaps for the IMAPs
|
|
call IMAP_infect()
|