64 lines
1.9 KiB
Markdown
64 lines
1.9 KiB
Markdown
# 💤 LazyVim
|
|
|
|
Based of the starter template for [LazyVim](https://github.com/LazyVim/LazyVim).
|
|
Refer to the [documentation](https://lazyvim.github.io/installation) to learn more.
|
|
|
|
## Setup
|
|
|
|
### Treesitter
|
|
|
|
A c compiler and the tree-sitter cli are required to install treesitter parsers.
|
|
|
|
#### C Compiler
|
|
|
|
Currently using gcc from the 64-bit win32 ucrt version of Mingw.
|
|
This can be installed from [https://github.com/niXman/mingw-builds-binaries/releases]
|
|
|
|
The `mingw64` folder will need to be "installed" (ex. moved to `C:\ProgramData\`) and added to the path for neovim to use it.
|
|
|
|
#### tree-sitter cli
|
|
|
|
1. Download the tree-sitter cli from [https://github.com/tree-sitter/tree-sitter/releases]
|
|
2. "Install" the cli (currently in `C:\tools\`)
|
|
3. Add the cli to the PATH
|
|
|
|
### LuaRocks
|
|
|
|
LazyVim currently requires LuaRocks to install properly.
|
|
To install:
|
|
|
|
1. Install Lua from LuaForWindows [https://github.com/rjpcomputing/luaforwindows]
|
|
2. "Install" standalone (64-bit) LuaRocks (currently in `C:\tools\`) [https://luarocks.github.io/luarocks/releases/]
|
|
- [Instructions](https://github.com/luarocks/luarocks/blob/main/docs/installation_instructions_for_windows.md)
|
|
3. Add LuaRocks to the PATH
|
|
|
|
_Note: If LuaRocks and tree-sitter cli are "installed" in the same location you will only need to edit the path once_
|
|
|
|
### Nerd Font
|
|
|
|
A "Nerd Font" is used to get the correct symbols used by LazyVim.
|
|
|
|
Currently using "JetBrainsMono" no ligature (NL) nerd font from the [Nerd Font site](https://www.nerdfonts.com/font-downloads).
|
|
|
|
If using Neovim from the terminal, ensure the terminal font is set to JetBrainsMono.
|
|
|
|
### Programs
|
|
|
|
- ripgrep
|
|
- fd
|
|
- fzf
|
|
- nodeJs
|
|
- used for installing jsonls, an lsp used for nvim config.
|
|
|
|
These programs can all be installed with `winget`.
|
|
|
|
``` powershell
|
|
winget install BurntSushi.ripgrep.MSVC sharkdp.fd fzf OpenJS.NodeJS
|
|
```
|
|
|
|
Neovim and Git can also be installed this way.
|
|
|
|
``` powershell
|
|
winget install Git.Git Neovim.Neovim
|
|
```
|