Skip to content

Commit 0cb9b66

Browse files
committed
docs: update readme
1 parent c31eb8f commit 0cb9b66

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

readme.md

+18-5
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,31 @@ Try it out:
1111
$ nix run github:konradmalik/neovim-flake
1212
```
1313

14+
Run checks (stylua, luacheck, typecheck via lua-language-server):
15+
16+
```bash
17+
$ make check-fmt
18+
$ make check-lint
19+
```
20+
21+
Run tests (busted using nvim as an interpreter):
22+
23+
```bash
24+
$ make test
25+
```
26+
1427
## Assumptions
1528

16-
- keeps all Neovim config in lua as it's supposed to be
17-
- uses nix for system dependencies, plugins and packaging
29+
- keeps all Neovim config in lua as it's supposed to be
30+
- uses nix for system dependencies, plugins and packaging
1831

1932
That way nix is a layer on top, just used for packaging and reproducibility. It does not interfere with the standard way
2033
to configure Neovim.
2134

2235
## Things to note
2336

24-
- Uses `NVIM_APPNAME` to differentiate from other Neovim instances. It's set to `neovim-pde` or `neovim-pde-hm` for
25-
home-manager (configurable) or `nvim` when running in "dev mode".
37+
- Uses `NVIM_APPNAME` to differentiate from other Neovim instances. It's set to `neovim-pde` or `neovim-pde-hm` for
38+
home-manager (configurable) or `nvim` when running in "dev mode".
2639

2740
### Home Manager
2841

@@ -63,5 +76,5 @@ What I don't like in those "nixvim" flakes is that people most often use only ni
6376

6477
Inspired by:
6578

66-
- https://primamateria.github.io/blog/neovim-nix/
79+
- https://primamateria.github.io/blog/neovim-nix/
6780

0 commit comments

Comments
 (0)