49 lines
1.1 KiB
Markdown
49 lines
1.1 KiB
Markdown
# Requirements:
|
|
|
|
## Apt packages
|
|
|
|
There are some packages required by Mason, Telescope, etc.
|
|
|
|
**Note: this is a very loose list.**
|
|
|
|
```shell
|
|
sudo apt install gcc ripgrep unzip java-common default-jre luarocks cmake libbinutils moreutils shellcheck
|
|
```
|
|
|
|
## Language servers:
|
|
|
|
See `lua/lsp.lua` for the commented out MasonInstall commands
|
|
|
|
## Treesitter dependencies
|
|
|
|
You need to make sure treesitter dependencies are installed. You will get silent errors if they are missing
|
|
(including tree-sitter-cli, which is not optional as some outdated sources say). You can check these with:
|
|
|
|
```
|
|
:checkhealth nvim-treesitter
|
|
```
|
|
|
|
tree-sitter-cli can be donwloaded from the [releases](https://github.com/tree-sitter/tree-sitter/releases/latest)
|
|
|
|
## Treesitter parsers
|
|
|
|
```
|
|
:TSInstall javascript typescript jsx tsx vue html css
|
|
```
|
|
|
|
To get vue working:
|
|
```
|
|
npm install -g @vtsls/language-server
|
|
```
|
|
|
|
## NerdFont
|
|
|
|
A NerdFont with symbols is required to show icons in tree view
|
|
|
|
## Nice to know stuff
|
|
|
|
### `:InspectTree`
|
|
- Debug the treesitter syntax tree
|
|
- 'I' to display the assumed source language
|
|
- 'a' to toggle anonymous nodes
|