From 08028cf4150484e450674aa3d1c4d433f72fd832 Mon Sep 17 00:00:00 2001 From: Dmytro Maluka Date: Tue, 26 Mar 2024 01:10:08 +0100 Subject: [PATCH] s/filename/filetype/ in jsonnet syntax file This typo causes a funny bug: the autodetected filetype for *.jsonnet files is an empty string instead of "jsonnet". Even funnier, when autocompleting "set filetype " (with the fix from PR #3218), the first suggested filetype is this empty string. --- runtime/syntax/jsonnet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/jsonnet.yaml b/runtime/syntax/jsonnet.yaml index a278b505..928b78dc 100644 --- a/runtime/syntax/jsonnet.yaml +++ b/runtime/syntax/jsonnet.yaml @@ -1,4 +1,4 @@ -filename: jsonnet +filetype: jsonnet detect: filename: "\\.jsonnet$"