Skip to content

Commit 08028cf

Browse files
committed
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 zyedidia#3218), the first suggested filetype is this empty string.
1 parent 93dd8ca commit 08028cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/syntax/jsonnet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
filename: jsonnet
1+
filetype: jsonnet
22

33
detect:
44
filename: "\\.jsonnet$"

0 commit comments

Comments
 (0)