zed: add project settings to improve search

This commit is contained in:
nym21
2025-08-31 17:05:28 +02:00
parent f6d9332c48
commit 08cfefc02a
3 changed files with 21 additions and 5 deletions

4
.gitignore vendored
View File

@@ -12,10 +12,6 @@ vecid-to-indexes.js
# Ignored
_*
# Editors
.vscode
.zed
# Logs
.log

20
.zed/settings.json Normal file
View File

@@ -0,0 +1,20 @@
{
"file_scan_exclusions": [
// default
"**/.git",
"**/.svn",
"**/.hg",
"**/.jj",
"**/CVS",
"**/.DS_Store",
"**/Thumbs.db",
"**/.classpath",
"**/.settings",
// custom
"**/lean-qr/*/index.mjs",
"uFuzzy.mjs",
"lightweight-charts.standalone.production.mjs",
"**/modern-screenshot/*/index.mjs",
"**/solidjs-signals/*/dist/prod.js"
]
}

View File

@@ -24,7 +24,7 @@ export async function screenshot({ element, name, title, env }) {
try {
await navigator.share({
files: [file],
title: `Bitview screenshot: ${title}`,
title: `${title} on ${window.document.location.hostname}`,
});
return;
} catch (err) {