diff options
author | Hilmar Wiegand <me@hwgnd.de> | 2024-04-02 18:54:54 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-02 18:58:40 +0200 |
commit | 6c9f4f98f1cda3793406724a260cd651210a5d0d (patch) | |
tree | 008ca7995ebf870b963882b47b763f399e0ba7c7 /runtime | |
parent | cc7597c1edf478ad912d45b27f17175236f9791e (diff) |
patch 9.1.0253: filetype: typespec files are not recognizedv9.1.0253
Problem: filetype: typespec files are not recognized
Solution: Detect '*.tsp' files as typespec
(Hilmar Wiegand)
Specs is at https://typespec.io/
closes: #14392
Signed-off-by: Hilmar Wiegand <me@hwgnd.de>
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 077aa63e00..81ce17415c 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2373,6 +2373,9 @@ au BufNewFile,BufRead *.mts,*.cts setf typescript " TypeScript with React au BufNewFile,BufRead *.tsx setf typescriptreact +" TypeSpec files +au BufNewFile,BufRead *.tsp setf typespec + " Motif UIT/UIL files au BufNewFile,BufRead *.uit,*.uil setf uil |