From f9eb5b0b92e9da01d50ae3a7637b64e70e26a4f4 Mon Sep 17 00:00:00 2001 From: Kiyoon Kim Date: Sat, 8 Jun 2024 12:33:45 +0900 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8cd95ec..a4ae61c 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ A simple tool that auto-inserts import statements. +https://github.com/kiyoon/python-import.nvim/assets/12980409/8a8f580f-16de-460c-af32-23fab7d2a35e + The function receives the current word and treesitter node under the cursor. Most will use the current word to find the import statement, but the treesitter node can be used to find the import statement more accurately. (e.g. `torch.utils.data.DataLoader` -> `import torch.utils.data`)