# @cspell/dict-zig 中文文档

规范地址：https://npmcn.com/package/%40cspell/dict-zig/

版本：1\.0\.0
npm 元数据更新时间：2025-11-15T07:47:10.611Z
中文译文更新时间：2026-11-11T03:14:04.770Z
软件包许可：MIT

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40cspell/dict-zig
原文对照：https://npmcn.com/package/%40cspell/dict-zig/?lang=original
项目主页：https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/zig#readme
源码仓库：https://github.com/streetsidesoftware/cspell-dicts

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：8 kB，5 个文件
- TypeScript 类型：未声明
- 运行依赖：0 个
- 首次发布：2025-11-15T07:47:09.751Z
- 最新版本发布：2025-11-15T07:47:10.027Z
- 近 30 天下载量：5770916（2026-10-11 至 2026-11-09，npm 官方下载统计）
- 已发布版本数：1（近 12 个月 1 个）

## 中文简介

Cspell 的 Zig 词典.

## 安装

```sh
npm install @cspell/dict-zig
```

也可以使用：`pnpm add @cspell/dict-zig`、`yarn add @cspell/dict-zig`、`bun add @cspell/dict-zig`

## README

# CSpell 齐格词典

Cspell 的 Zig 词典.

这是预建的与 CSpell 一同使用的词典 .

## 所需资源

| 工具 | 版本 |
| --- | --- |
| [点球](https://github.com/streetsidesoftware/cspell) | `>= 8` |
| [代码拼写检查器 - 视觉工作室代码](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>= 4` |

## 本地安装

```sh
npm install -D @cspell/dict-zig
```

## 配置

VSCode 设置

在您的 VSCode 设置中添加以下内容:

**`.vscode/settings.json`**

```jsonc
{
  "cSpell.import": ["@cspell/dict-zig/cspell-ext.json"],
  "cSpell.dictionaries": ["zig"],
}
```
CSpell 设置 `cspell.json`

**`cspell.json`**

```jsonc
{
  "import": ["@cspell/dict-zig/cspell-ext.json"],
  "dictionaries": ["zig"],
}
```
CSpell 设置 `cspell.config.yaml`

**`cspell.config.yaml`**

```yaml
import:
  - '@cspell/dict-zig/cspell-ext.json'
dictionaries:
  - zig
```

## 使用 CDN 本地安装

## CDN 配置

VSCode 设置

在您的 VSCode 设置中添加以下内容:

**`.vscode/settings.json`**

```jsonc
{
  "cSpell.import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-zig/cspell-ext.json"],
  "cSpell.dictionaries": ["zig"],
}
```
CSpell 设置 `cspell.json`

**`cspell.json`**

```jsonc
{
  "import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-zig/cspell-ext.json"],
  "dictionaries": ["zig"],
}
```
CSpell 设置 `cspell.config.yaml`

**`cspell.config.yaml`**

```yaml
import:
  - https://cdn.jsdelivr.net/npm/@cspell/dict-zig/cspell-ext.json
dictionaries:
  - zig
```

## 词典信息

| 名称 | 已启用 | 说明 |
| --- | --- | --- |
| `zig` |  | 齐格词典 |

## 语言设置

| 名称 | 语言 | 文件类型 |
| --- | --- | --- |
| `zig` | `*` | `zig` |
| `zig` | `*` | `zon` |

## 捐款

请帮助纠正字典中的错误 .

见: [捐款](https://github.com/streetsidesoftware/cspell-dicts#contributing)

特别感谢我们所有出色的贡献者!

### 词典发展

见: [如何创建新词典](https://github.com/streetsidesoftware/cspell-dicts#how-to-create-a-new-dictionary)

## 许可证

麻省理工学院

> 有些包裹可能还有其他许可证.

关键词取自 [emanspeaks/cspell-zig (英语)](https://github.com/emanspeaks/cspell-zig), (中文(简体) ), 根据麻省理工学院许可证的规定获得许可证.

密码样本 `samples/` 取自目录 [Zig 标准库](https://github.com/ziglang/zig), (中文(简体) ), 根据麻省理工学院许可证的规定获得许可证.

  

* * *

带给你的 [![Street Side Software Logo](https://i.imgur.com/CyduuVY.png) 街边软件](https://streetsidesoftware.com/ "Street Side Software")

## 常见问题

### @cspell/dict-zig 是什么？

Cspell 的 Zig 词典\.

### 如何安装 @cspell/dict-zig？

在项目目录运行 npm install @cspell/dict-zig，或使用 pnpm add / yarn add / bun add。

### @cspell/dict-zig 支持 TypeScript 吗？

该包的 package\.json 没有声明类型入口。需要类型提示时，可以在 npm 上查找社区维护的 @types/cspell\_\_dict-zig 是否存在。

### @cspell/dict-zig 可以商用吗？

@cspell/dict-zig 使用 MIT 许可。宽松许可：允许商业使用、修改和再分发，通常只需在分发时保留原版权与许可声明。以上为概括，不构成法律意见，请以许可原文为准。

### @cspell/dict-zig 的下载量有多少？

根据 npm 官方下载统计，@cspell/dict-zig 在 2026/10/11 – 2026/11/09 这 30 天内被下载 5,770,916 次，日均约 192,364 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入，适合横向比较热度，不能直接等同于使用人数。

### @cspell/dict-zig 还在维护吗？

最新版本 1\.0\.0 发布于 2025/11/15（11 个月前）；至今共发布 1 个版本，其中过去 12 个月发布了 1 个；首次发布于 2025/11/15。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

