Skip to content

fix: add more context support for c/cpp preprocessor directives - #672

Merged
lewis6991 merged 1 commit into
nvim-treesitter:masterfrom
ownia:fix/preproc_directives
May 6, 2026
Merged

lewis6991 merged 1 commit into
nvim-treesitter:masterfrom
ownia:fix/preproc_directives

Conversation

@ownia

@ownia ownia commented May 6, 2026

Copy link
Copy Markdown
Contributor

Add more preprocessor directives for c/cpp, including #elif, #elifdef, #elifndef and #else.

See: https://cppreference.com/cpp/preprocessor/conditional

Add more preprocessor directives for c/cpp, including `#elif`,
`#elifdef`, `#elifndef` and `#else`.

See: https://cppreference.com/cpp/preprocessor/conditional

Signed-off-by: Weizhao Ouyang <o451686892@gmail.com>
@lewis6991
lewis6991 merged commit b311b30 into nvim-treesitter:master May 6, 2026
5 checks passed
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