This is my .config/nvim in MacOs or Linux.
- lua-language-server
- macos: brew install lua-language-server
- ubuntu:
sudo apt update
sudo apt install lua5.4
cd
git clone https://github.com/sumneko/lua-language-server
git submodule update --init --recursive
cd 3rd/luamake
compile/install.sh
cd lua-language-server
cd ../..
./3rd/luamake/luamake rebuild
echo 'export PATH="$HOME/lua-language-server/bin:$PATH"' >> ~/.zshrc source ~/.zshrc
- npm i typescript-language-server -g
- npm install -g vscode-html-languageserver-bin
Font in default terminal Linux maybe not match with icon, recommend use Nerb font (download and add fonts)
- Choose & download: (Nerdfonts)[https://www.nerdfonts.com/font-downloads]
- mkdir -p ~/.fonts
- mv /path/to/downloaded/*.otf ~/.fonts
- fc-cache -f -v Choose new font for terminal & reset