From a381c1b1a8ab2733c8b0481663bf2d715d0b2a00 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sat, 20 Apr 2024 20:01:50 -0700 Subject: [PATCH] add more installation instructions to readme --- README.md | 8 +++++++- lazy-lock.json | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 184d302..fcbe3d6 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,17 @@ The main goal of this setup is to reach somewhat feature parity with VSCode's In ## Installation -Ensure you have the latest version of Neovim installed, and remove or backup your existing settings. +Ensure you have the latest version of Neovim installed, and remove or backup your existing settings. Install `tree-sitter-cli` with either `cargo` or `npm`, and ensure `npm` and `tree-sitter-cli` are on your `PATH`. ```sh rm -rf ~/.config/nvim mv ~/.nvim ~/.nvim.bak + +# with npm (or pnpm, bun, yarn) +npm install --global tree-sitter-cli + +# with cargo +cargo install tree-sitter-cli ``` Then, clone this repository into where Neovim is expecting configuration files (usually `~/.config/nvim`). diff --git a/lazy-lock.json b/lazy-lock.json index 8d4db2b..44f8832 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -55,7 +55,7 @@ "tailwind-fold.nvim": { "branch": "main", "commit": "4335dd915073fe3da43a85b06742d12626603973" }, "tailwindcss-colorizer-cmp.nvim": { "branch": "main", "commit": "3d3cd95e4a4135c250faf83dd5ed61b8e5502b86" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" }, - "telescope.nvim": { "branch": "master", "commit": "a4432dfb9b0b960c4cbc8765a42dc4fe2e029e8f" }, + "telescope.nvim": { "branch": "master", "commit": "7d1698f3d88b448e0639974248cc17f49b7b8acf" }, "todo-comments.nvim": { "branch": "main", "commit": "a7e39ae9e74f2c8c6dc4eea6d40c3971ae84752d" }, "tokyonight.nvim": { "branch": "main", "commit": "9bf9ec53d5e87b025e2404069b71e7ebdc3a13e5" }, "trouble.nvim": { "branch": "dev", "commit": "10eff94809ecd6ee6cc59f42e9521b9b8a14e9ce" },