Skip to content

fix: replace deprecated treesitter API with native Neovim 0.10+ funct…#2

Open
cyb3r-w0lf wants to merge 1 commit into
KashifKhn:mainfrom
cyb3r-w0lf:main
Open

fix: replace deprecated treesitter API with native Neovim 0.10+ funct…#2
cyb3r-w0lf wants to merge 1 commit into
KashifKhn:mainfrom
cyb3r-w0lf:main

Conversation

@cyb3r-w0lf
Copy link
Copy Markdown

  • Replace parsers.get_buf_lang() with vim.bo[bufnr].filetype
  • Replace parsers.get_parser() with vim.treesitter.get_parser()
  • Add shebang protection to prevent removing #! from Python files
  • Remove dependency on nvim-treesitter.parsers module

…ions

- Replace parsers.get_buf_lang() with vim.bo[bufnr].filetype
- Replace parsers.get_parser() with vim.treesitter.get_parser()
- Add shebang protection to prevent removing #! from Python files
- Remove dependency on nvim-treesitter.parsers module
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.

1 participant