12
44
Fork
You've already forked zig.vim
10

update builtins for 0.16.0 #122

Merged
Techatrix merged 1 commit from jpk68/zig.vim:builtins into master 2026年05月01日 22:50:47 +02:00
Contributor
Copy link

Updates syntax highlighting of builtin functions for version 0.16.0, using this as a source of truth.

Updates syntax highlighting of builtin functions for version 0.16.0, using [this](https://ziglang.org/documentation/0.16.0/#Builtin-Functions) as a source of truth.
Techatrix requested changes 2026年04月29日 15:07:42 +02:00
Dismissed
Techatrix left a comment
Copy link

The more reliable source for the set of builtins can be taken from the Zig codebase directly in std.zig.BuiltinFn. This will include builtins like @disableInstrumentation and @disableIntrinsics that are currently undocumented in the language reference. These two should be added back. The rest of the changes are fine.

The more reliable source for the set of builtins can be taken from the Zig codebase directly in [std.zig.BuiltinFn](https://codeberg.org/ziglang/zig/src/branch/master/lib/std/zig/BuiltinFn.zig). This will include builtins like `@disableInstrumentation` and `@disableIntrinsics` that are currently undocumented in the language reference. These two should be added back. The rest of the changes are fine.
Author
Contributor
Copy link

@Techatrix wrote in #122 (comment):

The more reliable source for the set of builtins can be taken from the Zig codebase directly in std.zig.BuiltinFn. This will include builtins like @disableInstrumentation and @disableIntrinsics that are currently undocumented in the language reference. These two should be added back. The rest of the changes are fine.

Thank you for the feedback, I wasn't aware of that file. Erroneous changes have been reverted :)

@Techatrix wrote in https://codeberg.org/ziglang/zig.vim/pulls/122#issuecomment-13996328: > The more reliable source for the set of builtins can be taken from the Zig codebase directly in [std.zig.BuiltinFn](https://codeberg.org/ziglang/zig/src/branch/master/lib/std/zig/BuiltinFn.zig). This will include builtins like `@disableInstrumentation` and `@disableIntrinsics` that are currently undocumented in the language reference. These two should be added back. The rest of the changes are fine. Thank you for the feedback, I wasn't aware of that file. Erroneous changes have been reverted :)
Sign in to join this conversation.
No reviewers
Labels
Clear labels
bounty
https://ziglang.org/news/announcing-donor-bounties
bug
Observed behavior contradicts documented or intended behavior.
contributor-friendly
This issue is limited in scope and/or knowledge of project internals.
downstream
An issue with a third-party project that uses this project.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
infra
An issue related to project infrastructure, e.g. continuous integration.
optimization
A task to improve performance and/or resource usage.
question
No questions on the issue tracker; use a community space instead.
regression
Something that used to work in a previous version stopped working
upstream
An issue with a third-party project that this project uses.
use case
Describes a real use case that is difficult or impossible, but does not propose a solution.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ziglang/zig.vim!122
Reference in a new issue
ziglang/zig.vim
No description provided.
Delete branch "jpk68/zig.vim:builtins"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?