-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.nvim
executable file
·24 lines (21 loc) · 966 Bytes
/
.nvim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env bash
# exit if any command has a non-zero exit status
set -euxo pipefail
# Install neovim (latest)
brew install neovim --HEAD
# install plug manager for vim (neovim autoinstalls lazy.nvim)
bash -c 'curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
# Install language servers for LSP, requires node
# see https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
npm i -g @ansible/ansible-language-server # ansible
npm i -g bash-language-server #bashls
npm i -g vscode-langservers-extracted # cssls, html, eslint, jsonls
npm i -g diagnostic-languageserver # general purpose language server
npm i -g typescript typescript-language-server # tsserver
npm i -g vls # vuels
npm i -g prettier
brew install ccls # C/C++/ObjC, see https://github.com/MaskRay/ccls
brew install rust-analyzer # rust
brew install lua-language-server # lua
brew install stylua