Based on lunarVim, i made my own configuration:
rust
lua
typescript
javascript
lsp simple configs.
Based on this repository:
https://github.com/LunarVim/Neovim-from-scratch
Run nvim
and wait for the plugins to be installed
NOTE (You will notice treesitter pulling in a bunch of parsers the next time you open Neovim)
Open nvim
and enter the following:
:checkhealth
You'll probably notice you don't have support for copy/paste also that python and node haven't been setup
So let's fix that
First we'll fix copy/paste
-
On mac
pbcopy
should be builtin -
On Ubuntu
sudo apt install xsel
-
On Arch Linux
sudo pacman -S xsel sudo pacman -S ripgrep ripgrep-all
-
LSP for javascript and typescript
sudo npm i -g typescript-language-server typescript-language-server
-
LSP for lua
Homebrew: brew install lua-language-server
Else: https://github.com/sumneko/lua-language-server/wiki/Getting-Started
- LSP for php (phpactor)
https://phpactor.readthedocs.io/en/master/usage/standalone.html