VS Code: use the new Textual Syntax Highlighter extension

This commit is contained in:
Isaiah Odhner 2023-08-21 18:34:48 -04:00
parent ec63ff0e55
commit 9183edbe53
2 changed files with 6 additions and 5 deletions

View File

@ -3,6 +3,7 @@
"streetsidesoftware.code-spell-checker", "streetsidesoftware.code-spell-checker",
"ms-python.python", "ms-python.python",
"ms-python.vscode-pylance", "ms-python.vscode-pylance",
"twixes.pypi-assistant" "twixes.pypi-assistant",
"textualize.textual-syntax-highlighter"
] ]
} }

View File

@ -12,10 +12,10 @@
{"name": "rich", "depth": 5}, {"name": "rich", "depth": 5},
], ],
// Textual CSS is not browser CSS. // Textual CSS is not browser CSS.
// In the future it would be nice to have custom CSS data for the framework. // Use the Textual Syntax Highlighter extension.
// (I tried this feature, but my proof-of-concept didn't work. Maybe an extension would work? Maybe I did something simple wrong?) "files.associations": {
// https://github.com/microsoft/vscode-css-languageservice/blob/main/docs/customData.md#custom-data-for-css-language-service "*.css": "Textual CSS"
"css.validate": false, },
// Prevent accidental editing of generated files and installed packages. // Prevent accidental editing of generated files and installed packages.
// (You can always use File: Set Active Editor Writeable in Session if you need to.) // (You can always use File: Set Active Editor Writeable in Session if you need to.)
"files.readonlyInclude": { "files.readonlyInclude": {