From 88d9ae52c691ef44d9e2c88eb04fcb81b9a84b90 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Fri, 9 Feb 2024 16:03:18 -0600 Subject: [PATCH] vscode: add jinja header snippet --- home/features/desktop/vscode.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/home/features/desktop/vscode.nix b/home/features/desktop/vscode.nix index c0fa874..65a4635 100644 --- a/home/features/desktop/vscode.nix +++ b/home/features/desktop/vscode.nix @@ -150,6 +150,17 @@ ]; }; }; + jinja-html = { + "Insert jinja header" = { + isFileTemplate = true; + prefix = ["jinja"]; + body = [ + "# -*- coding: utf-8 -*-" + "# vim: ft=jinja" + "\$0" + ]; + }; + }; }; userSettings = { "autoalign.moveableItems" = [