diff options
author | tris203 <admin@snappeh.com> | 2024-05-02 13:08:25 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-05-02 13:08:25 +0200 |
commit | 54e79157c536c631b2f9b3dfefec30b9b966ed97 (patch) | |
tree | 0c7b8aeb8148ee123dd91fcc5a8bd402733ae7ee /runtime | |
parent | 2ffdae79487cb7e323383eda9ae96c2e9d1625bd (diff) |
patch 9.1.0389: filetype: templ files are not recognizedv9.1.0389
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: #14697
Signed-off-by: tris203 <admin@snappeh.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 0532c5f514..de432869ba 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2383,6 +2383,9 @@ au BufNewFile,BufRead *.tcl,*.tm,*.tk,*.itcl,*.itk,*.jacl,.tclshrc,.wishrc,.tcls " Xilinx's xsct and xsdb use tcl au BufNewFile,BufRead .xsctcmdhistory,.xsdbcmdhistory setf tcl +" templ +au BufNewFile,BufRead *.templ setf templ + " Teal au BufRead,BufNewFile *.tl setf teal |