From 55b82d1aeb3e8cd36b1711c1786070f8eece5df2 Mon Sep 17 00:00:00 2001 From: Mathias Fussenegger Date: Fri, 29 Nov 2024 21:16:57 +0100 Subject: [PATCH] Update tree-sitter setup instructions; python parser is no longer bundled --- README.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c37566f..9239e2d 100644 --- a/README.md +++ b/README.md @@ -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`