aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-04-02 23:04:11 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-04-03 10:45:29 +0200
commite74cd1d9ffa935914905c6fc666c5bbf0cba36b7 (patch)
tree6487ce82661117e9dfd81791bf4bc6305e99df0e /runtime/lua/vim
parent99b3a068de1032975c4ab1486c0594a37aeabde8 (diff)
downloadrneovim-e74cd1d9ffa935914905c6fc666c5bbf0cba36b7.tar.gz
rneovim-e74cd1d9ffa935914905c6fc666c5bbf0cba36b7.tar.bz2
rneovim-e74cd1d9ffa935914905c6fc666c5bbf0cba36b7.zip
vim-patch:9.1.0253: filetype: typespec files are not recognized
Problem: filetype: typespec files are not recognized Solution: Detect '*.tsp' files as typespec (Hilmar Wiegand) Specs is at https://typespec.io/ closes: vim/vim#14392 https://github.com/vim/vim/commit/6c9f4f98f1cda3793406724a260cd651210a5d0d Co-authored-by: Hilmar Wiegand <me@hwgnd.de>
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 190071bbc7..1198a9972f 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -1052,6 +1052,7 @@ local extension = {
mts = 'typescript',
cts = 'typescript',
tsx = 'typescriptreact',
+ tsp = 'typespec',
uc = 'uc',
uit = 'uil',
uil = 'uil',