3dyuval / 3dyuval/nvim

chore: Prepare for nvim-treesitter 1.0 breaking changes

Đang mở
#58 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Fennel
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Overview

nvim-treesitter 1.0 is coming with breaking changes. See [roadmap issue #4767](https://github.com/nvim-treesitter/nvim-treesitter/issues/4767).

## Breaking Changes Affecting This Config

### Modules Being Removed

- [ ] **`incremental_selection`** (`lua/plugins/treesitter.lua:50-58`)
- Currently using `` for node selection
- Replace with textobjects or separate plugin

- [ ] **`indent`** (`lua/plugins/treesitter.lua:47-49`)
- Moving to Neovim core
- May need adjustment when 0.11 releases

### Already Compatible

- ✅ `nvim-treesitter-textobjects` on `main` branch with standalone setup

### Query Files to Review

- [ ] `queries/yaml/highlights.scm` - `@string.special` may change to Helix-style captures
- [ ] `queries/jsx/textobjects.scm` - verify custom captures still work
- [ ] `queries/tsx/textobjects.scm` - verify custom captures still work
- [ ] `queries/typescript/folds.scm` - `@fold` should remain compatible
- [ ] `queries/typescriptreact/folds.scm` - `@fold` should remain compatible

## Timeline

- New `main` branch targets Neovim nightly only
- After Neovim 0.11 (wasm support), `main` becomes default
- Current `master` remains frozen for backwards compatibility

## Resources

- [nvim-treesitter 1.0 Roadmap](https://github.com/nvim-treesitter/nvim-treesitter/issues/4767)
- [Helix captures reference](https://docs.helix-editor.dev/themes.html#syntax-highlighting)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.