An open API service indexing awesome lists of open source software.

https://github.com/tabsp/nvim

My neovim setup
https://github.com/tabsp/nvim

Last synced: 2 days ago
JSON representation

My neovim setup

Awesome Lists containing this project

README

          

# My neovim setup

![snapshoot](snapshoot.jpg)

## Requirements

[Neovim Nightly (0.5)](https://github.com/neovim/neovim/releases/tag/nightly)

## Setup

### Clone

```shell
cd ~/.config && git clone https://github.com/tabsp/nvim.git
```
## pynvim

require Pythen3

```shell
pip install pynvim
```

for linux:

```shell
pip install pyyaml
```

## Language server

### gopls

```shell
go get golang.org/x/tools/gopls@latest
```

### lua-language-server

```shell
cd ~/.local/share/nvim
git clone https://github.com/sumneko/lua-language-server
cd lua-language-server
git submodule update --init --recursive
cd 3rd/luamake
ninja -f ninja/macos.ninja
cd ../..
./3rd/luamake/luamake rebuild
```

### typescript-language-server

```shell
npm install -g typescript-language-server
```

## Formt Code

### lua-fmt

[source](https://github.com/trixnz/lua-fmt)

```shell
npm install -g lua-fmt
```

## Optional

### bat

[source](https://github.com/sharkdp/bat)

```shell
brew install bat
```

### ripgrep

[source](https://github.com/BurntSushi/ripgrep)

```shell
brew install ripgrep
```

### Clipboard

#### Arch

```shell
pacman -S xsel
```