Improve source file detection and tests

- Use SwiftPM-provided sourceFiles for filtering - Add Utils.swift with
URL descendant check - Update example to use Views/ instead of Folder/ -
Add test for non-included Swift file - Update .zed settings to disable
VSCode CSS language server
This commit is contained in:
Shibo Lyu 2025-08-20 21:01:17 +08:00
parent cfb5d2a4a2
commit 8359d795eb
8 changed files with 68 additions and 9 deletions

11
.zed/settings.json Normal file
View file

@ -0,0 +1,11 @@
// Folder-specific settings
//
// For a full list of overridable settings, and general information on folder-specific settings,
// see the documentation: https://zed.dev/docs/configuring-zed#settings-files
{
"languages": {
"CSS": {
"language_servers": ["!vscode-css-language-server"]
}
}
}