mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-22 09:22:19 +00:00
vscode: add sls header snippet
This commit is contained in:
parent
85f1c00835
commit
8073e647a7
1 changed files with 13 additions and 0 deletions
|
@ -137,6 +137,19 @@
|
|||
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" = {
|
||||
prefix = ["sls"];
|
||||
body = [
|
||||
"# -*- coding: utf-8 -*-"
|
||||
"# vim: ft=yaml"
|
||||
"---"
|
||||
"\$0"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
userSettings = {
|
||||
"autoalign.moveableItems" = [
|
||||
"="
|
||||
|
|
Loading…
Reference in a new issue