Compare commits

...

2 commits

Author SHA1 Message Date
55e7798133 vscode: make sls snippet a fileTemplate 2024-02-08 13:16:06 -06:00
8073e647a7 vscode: add sls header snippet 2024-02-08 13:13:47 -06:00

View file

@ -137,6 +137,20 @@
when = "editorTextFocus && markdown.extension.editor.cursor.inList && !editorHasMultipleSelections && !editorReadonly && !editorTabMovesFocus && !hasOtherSuggestions && !hasSnippetCompletions && !inSnippetMode && !inlineSuggestionVisible && !markdown.extension.editor.cursor.inFencedCodeBlock && !markdown.extension.editor.cursor.inMathEnv && !suggestWidgetVisible && editorLangId =~ /^markdown$|^rmd$|^quarto$/"; when = "editorTextFocus && markdown.extension.editor.cursor.inList && !editorHasMultipleSelections && !editorReadonly && !editorTabMovesFocus && !hasOtherSuggestions && !hasSnippetCompletions && !inSnippetMode && !inlineSuggestionVisible && !markdown.extension.editor.cursor.inFencedCodeBlock && !markdown.extension.editor.cursor.inMathEnv && !suggestWidgetVisible && editorLangId =~ /^markdown$|^rmd$|^quarto$/";
} }
]; ];
languageSnippets = {
jinja-yaml = {
"Insert SLS header" = {
isFileTemplate = true;
prefix = ["sls"];
body = [
"# -*- coding: utf-8 -*-"
"# vim: ft=yaml"
"---"
"\$0"
];
};
};
};
userSettings = { userSettings = {
"autoalign.moveableItems" = [ "autoalign.moveableItems" = [
"=" "="