Skip to content

feat(filetypes): add zig and zon filetypes#669

Merged
Conni2461 merged 1 commit intonvim-lua:masterfrom
lcian:master
Apr 9, 2026
Merged

feat(filetypes): add zig and zon filetypes#669
Conni2461 merged 1 commit intonvim-lua:masterfrom
lcian:master

Conversation

@lcian
Copy link
Copy Markdown
Contributor

@lcian lcian commented Aug 17, 2025

Adds filetypes for zig and zon (Zig Object Notation).

The zig filetype is needed to solve this issue in the neotest adapter for Zig.
Neotest uses plenary to detect the filetype. The adapter for zig was working so far due to this monkeypatch of plenary.filetype, which won't work anymore as of the latest commit in neotest.

The zon filetype is not really needed but might as well add it, it's also part of the filetypes recognized by default in nvim.

@lcian
Copy link
Copy Markdown
Contributor Author

lcian commented Aug 17, 2025

@Conni2461 could I get a review please? :)

@Conni2461 Conni2461 merged commit fcb3e9a into nvim-lua:master Apr 9, 2026
@Conni2461
Copy link
Copy Markdown
Collaborator

sorry for the late response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants