aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-05-02 13:54:14 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-05-02 14:14:56 +0200
commitebf8237af8af794654c045f836e6caa479053c7b (patch)
tree065519de9d922174dfa5fc95f816fb8fceb8fec6 /runtime/lua/vim
parentcb2a36bb5fce1ad105212a12ea71c1bbe76fdc7c (diff)
downloadrneovim-ebf8237af8af794654c045f836e6caa479053c7b.tar.gz
rneovim-ebf8237af8af794654c045f836e6caa479053c7b.tar.bz2
rneovim-ebf8237af8af794654c045f836e6caa479053c7b.zip
vim-patch:9.1.0389: filetype: templ files are not recognized
Problem: filetype: templ files are not recognized Solution: Detect '*.templ' files as filetype templ (Tristan Knight) See: - https://github.com/a-h/templ - https://templ.guide/ closes: vim/vim#14697 https://github.com/vim/vim/commit/54e79157c536c631b2f9b3dfefec30b9b966ed97 Co-authored-by: tris203 <admin@snappeh.com>
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/filetype.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index 77b3d29d01..e8d88ca309 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -1039,6 +1039,7 @@ local extension = {
tk = 'tcl',
jacl = 'tcl',
tl = 'teal',
+ templ = 'templ',
tmpl = 'template',
ti = 'terminfo',
dtx = 'tex',