Skip to content
Discussion options

You must be logged in to vote

{- template "keybindings.json" . -}

You need double opening and closing brackets, not single ones. i.e. you need:

{{- template "keybindings.json" . -}}

Note that templates are quite hard to use with JSON because the curly brackets are both interpreted by the template and by the JSON parser. Consider using custom template delimiters instead.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@halloleo
Comment options

Answer selected by halloleo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants