Skip to content

Commit

Permalink
Update tree-sitter setup instructions; python parser is no longer bun…
Browse files Browse the repository at this point in the history
…dled
  • Loading branch information
mfussenegger committed Nov 29, 2024
1 parent 8f3d119 commit 55b82d1
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,9 @@ See [Usage](#usage): You need to use `require("dap-python").setup("uv")`

### Tree-sitter

If you're using a properly packaged `nvim` version 0.10+, a python tree-sitter
parser should be included and you're all set.
To install the python tree-sitter parser you can either:

If you're using an older version, or your distribution excluded the parser you
can install it manually using either:


- Via `:TSInstall python` of [nvim-treesitter][4]
- Use `:TSInstall python` from [nvim-treesitter][4]
- Compile the parser from [tree-sitter-python][5] and copy it into `.config/nvim/parser/`:
- `git clone https://github.com/tree-sitter/tree-sitter-python.git`
- `cd tree-sitter-python`
Expand Down

0 comments on commit 55b82d1

Please sign in to comment.