added vscode svelte snippet
This commit is contained in:
parent
e81c3aa499
commit
d592e6c860
1 changed files with 29 additions and 9 deletions
|
|
@ -80,7 +80,7 @@
|
||||||
userSettings = {
|
userSettings = {
|
||||||
"workbench.colorTheme" = "Monokai Pro (Filter Octagon)";
|
"workbench.colorTheme" = "Monokai Pro (Filter Octagon)";
|
||||||
"workbench.startupEditor" = "none";
|
"workbench.startupEditor" = "none";
|
||||||
"workbench.iconTheme" = "vscode-icons";
|
"workbench.iconTheme" = "Monokai Pro Icons";
|
||||||
"git.autofetch" = true;
|
"git.autofetch" = true;
|
||||||
"redhat.telemetry.enabled" = false;
|
"redhat.telemetry.enabled" = false;
|
||||||
"svelte.enable-ts-plugin" = true;
|
"svelte.enable-ts-plugin" = true;
|
||||||
|
|
@ -99,6 +99,28 @@
|
||||||
"editor.inlineSuggest.enabled" = true;
|
"editor.inlineSuggest.enabled" = true;
|
||||||
"window.zoomLevel" = 1;
|
"window.zoomLevel" = 1;
|
||||||
};
|
};
|
||||||
|
languageSnippets = {
|
||||||
|
svelte = {
|
||||||
|
scaffold = {
|
||||||
|
description = "scaffold a file";
|
||||||
|
"prefix" = "!S";
|
||||||
|
"body" = [
|
||||||
|
"<script lang=\"ts\">"
|
||||||
|
""
|
||||||
|
"</script>"
|
||||||
|
""
|
||||||
|
"<section>"
|
||||||
|
""
|
||||||
|
"</section>"
|
||||||
|
""
|
||||||
|
"<style lang=\"postcss\">"
|
||||||
|
""
|
||||||
|
"</style>"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -110,15 +132,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
dconf = {
|
dconf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
"org/gnome/mutter" = {
|
"org/gnome/mutter" = {
|
||||||
experimental-features = [ "x11-randr-fractional-scaling" "scale-monitor-framebuffer" ];
|
experimental-features = [ "x11-randr-fractional-scaling" "scale-monitor-framebuffer" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue