aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-09-08 16:06:00 +0200
committerGitHub <noreply@github.com>2022-09-08 16:06:00 +0200
commit08602ec1ab2674385ddda8feaef2d3d9360d834d (patch)
tree24462fab3487ec2c6cc402e7d54c9290a6233096 /runtime/lua/vim
parentbb35422659bdc619d95cb87554632018a5a15636 (diff)
downloadrneovim-08602ec1ab2674385ddda8feaef2d3d9360d834d.tar.gz
rneovim-08602ec1ab2674385ddda8feaef2d3d9360d834d.tar.bz2
rneovim-08602ec1ab2674385ddda8feaef2d3d9360d834d.zip
vim-patch:9.0.0417: Jsonnet files are not recognized (#20119)
Problem: Jsonnet files are not recognized. Solution: Add a pattern for Jsonnet files. (Cezary Drożak, closes vim/vim#11073, closes vim/vim#11081) https://github.com/vim/vim/commit/2a4c885d54171f68ec2c2d6eb4ae281c7fefb802
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/filetype.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index f76b4cced9..fc2bcdabd2 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -557,6 +557,8 @@ local extension = {
['json-patch'] = 'json',
json5 = 'json5',
jsonc = 'jsonc',
+ jsonnet = 'jsonnet',
+ libjsonnet = 'jsonnet',
jsp = 'jsp',
jl = 'julia',
kv = 'kivy',