add more installation instructions to readme

This commit is contained in:
Youwen Wu 2024-04-20 20:01:50 -07:00
parent 80cc397da4
commit a381c1b1a8
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 8 additions and 2 deletions

View file

@ -6,11 +6,17 @@ The main goal of this setup is to reach somewhat feature parity with VSCode's In
## Installation ## 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 ```sh
rm -rf ~/.config/nvim rm -rf ~/.config/nvim
mv ~/.nvim ~/.nvim.bak 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`). Then, clone this repository into where Neovim is expecting configuration files (usually `~/.config/nvim`).

View file

@ -55,7 +55,7 @@
"tailwind-fold.nvim": { "branch": "main", "commit": "4335dd915073fe3da43a85b06742d12626603973" }, "tailwind-fold.nvim": { "branch": "main", "commit": "4335dd915073fe3da43a85b06742d12626603973" },
"tailwindcss-colorizer-cmp.nvim": { "branch": "main", "commit": "3d3cd95e4a4135c250faf83dd5ed61b8e5502b86" }, "tailwindcss-colorizer-cmp.nvim": { "branch": "main", "commit": "3d3cd95e4a4135c250faf83dd5ed61b8e5502b86" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" }, "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" }, "todo-comments.nvim": { "branch": "main", "commit": "a7e39ae9e74f2c8c6dc4eea6d40c3971ae84752d" },
"tokyonight.nvim": { "branch": "main", "commit": "9bf9ec53d5e87b025e2404069b71e7ebdc3a13e5" }, "tokyonight.nvim": { "branch": "main", "commit": "9bf9ec53d5e87b025e2404069b71e7ebdc3a13e5" },
"trouble.nvim": { "branch": "dev", "commit": "10eff94809ecd6ee6cc59f42e9521b9b8a14e9ce" }, "trouble.nvim": { "branch": "dev", "commit": "10eff94809ecd6ee6cc59f42e9521b9b8a14e9ce" },