my-crazy-lab / dotconfig-nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is my .config/nvim in MacOs or Linux.

lsp config

  1. 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
  2. npm i typescript-language-server -g
  3. npm install -g vscode-html-languageserver-bin

Linux noted

Font in default terminal Linux maybe not match with icon, recommend use Nerb font (download and add fonts)

  1. Choose & download: (Nerdfonts)[https://www.nerdfonts.com/font-downloads]
  2. mkdir -p ~/.fonts
  3. mv /path/to/downloaded/*.otf ~/.fonts
  4. fc-cache -f -v Choose new font for terminal & reset

About


Languages

Language:Lua 100.0%