mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2026-01-13 13:56:00 +01:00
Compare commits
4 commits
efd96e9231
...
82cd2c6423
| Author | SHA1 | Date | |
|---|---|---|---|
| 82cd2c6423 | |||
| 1f540d1b20 | |||
| 0452863608 | |||
| 294e77e082 |
3 changed files with 38 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -23,6 +23,8 @@
|
|||
!.local/share/code-server/User/settings.json
|
||||
!.local/share/code-server/User/extensions.json
|
||||
!.local/share/code-server/User/keybindings.json
|
||||
!.local/share/code-server/User/snippets/
|
||||
!.local/share/code-server/User/snippets/global.code-snippets
|
||||
|
||||
# Include this file
|
||||
!.gitignore
|
||||
|
|
|
|||
|
|
@ -1,4 +1,14 @@
|
|||
{
|
||||
"editor.tokenColorCustomizations": {
|
||||
"textMateRules": [
|
||||
{
|
||||
"scope": "meta.function-call.generic.python",
|
||||
"settings": {
|
||||
"foreground": "#DCDCAA"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"workbench.colorTheme": "Default Dark Modern",
|
||||
"keyboard.layout": "0000041D",
|
||||
"editor.bracketPairColorization.enabled": false,
|
||||
|
|
@ -22,5 +32,6 @@
|
|||
"window.customMenuBarAltFocus": false,
|
||||
"diffEditor.ignoreTrimWhitespace": false,
|
||||
"files.insertFinalNewline": true,
|
||||
"files.trimFinalNewlines": true
|
||||
"files.trimFinalNewlines": true,
|
||||
"autoDocstring.startOnNewLine": true
|
||||
}
|
||||
|
|
|
|||
24
.local/share/code-server/User/snippets/global.code-snippets
Normal file
24
.local/share/code-server/User/snippets/global.code-snippets
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
|
||||
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
|
||||
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
|
||||
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
|
||||
// Placeholders with the same ids are connected.
|
||||
"Lorem Ipsum": {
|
||||
"prefix": "lorem",
|
||||
"body": [
|
||||
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
||||
],
|
||||
"description": "Generate Lorem Ipsum text"
|
||||
},
|
||||
"Print to console": {
|
||||
"scope": "javascript,typescript",
|
||||
"prefix": "log",
|
||||
"body": [
|
||||
"console.log('$1');",
|
||||
"$2"
|
||||
],
|
||||
"description": "Log output to console"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue