diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-07-14 12:02:40 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-07-14 12:21:11 +0200 |
commit | 60734dc76112c4142c6048839a0b93c2d48e77f3 (patch) | |
tree | 810b54911315c387a448bd3dde99f02683120f49 /runtime | |
parent | 8b7c8a099464e8977e00f12829b1bf7334c097b0 (diff) | |
download | rneovim-60734dc76112c4142c6048839a0b93c2d48e77f3.tar.gz rneovim-60734dc76112c4142c6048839a0b93c2d48e77f3.tar.bz2 rneovim-60734dc76112c4142c6048839a0b93c2d48e77f3.zip |
vim-patch:9.1.0583: filetype: *.pdf_tex files are not recognized
Problem: filetype: *.pdf_tex files are not recognized
Solution: Detect '*.pdf_tex' files as tex filetype
(Jonas Dujava)
Those files are generated by inkscape, when exporting, see e.g.
https://inkscape.org/doc/inkscape-man.html
closes: vim/vim#15250
https://github.com/vim/vim/commit/28145e005d646cb0477aa26ef69d0f651a9f9d27
Co-authored-by: Jonas Dujava <jonas.dujava@gmail.com>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/lua/vim/filetype.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index f0e1af4f04..cead8871fe 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -1076,6 +1076,7 @@ local extension = { nls = 'tex', thm = 'tex', eps_tex = 'tex', + pdf_tex = 'tex', pygtex = 'tex', pygstyle = 'tex', clo = 'tex', |