Fix README

This commit is contained in:
Steins7 2022-10-20 15:14:43 +02:00
parent f115724350
commit ac8dc56fc4

View File

@ -17,23 +17,26 @@ This will create a new nvim folder in your .config folder, containing all the co
git clone https://github.com/Steins7/nvim ~/.config/nvim git clone https://github.com/Steins7/nvim ~/.config/nvim
``` ```
And that's it for the configuration part. Once nvim is started, run `:PloginsUpgrade` wich will fetch all the necessary plugins, store them in `~/.local/nvim` and load them each time you start the editor. At this point, you are ready to install the external depencies needed for all those plugins to work properly. And that's it for the configuration part. Once nvim is started, the necessary plugins will be automatically fetched and stored `~/.local/nvim`. At this point, you are ready to install the external depencies needed for all those plugins to work properly.
### External depencies ### External depencies
Here is a list of all external depencies you'll need: Here is a list of all external depencies you'll need:
- python 3 (3.8 minimum) - universal ctags, ctags won't work (note that arch's universal ctags package is named ctags...), for tagbar
- python-venv (shipped in python > 3.3) - tree-sitter, for syntax coloration
- universal ctags, ctags won't work (note that arch's universal ctags package is named ctags...) - rust-analyzer, as LSP server
- rust-analyzer
On arch, you can just use the following command : On arch, you can just use the following command :
``` ```
pacman -Syu python ctags rust-analyzer pacman -Syu ctags tree-sitter rust-analyzer
``` ```
Once the dependencies are installed, COQ may prompt you to execute `COQdeps` and update the dependencies which you should do. Atfter that, either restart nvim or execute `COQnow`. Once the dependencies are installed, type `:checkhealth` to verify that everything is properly detected. You should, at most, see a warning about node and another about the clipboard.
### Syntax coloration
By default, this config only supports C/C++, Lua and Rust. You can add more default languages in lua/plugins.lua or add them on the fly by typing `:TSInstall <language name>`
Tinkering Tinkering
--------- ---------