add makefile

This commit is contained in:
Smirnov Olexander 2022-05-31 00:23:53 +03:00
parent f79f83c311
commit 49d99135be
2 changed files with 14 additions and 0 deletions

11
Makefile Normal file
View file

@ -0,0 +1,11 @@
.PHONY:
.SILENT:
format:
stylua **/*.lua
lint:
selene **/*.lua
test:
nvim --headless -u ./spec/minimal.vim -c "PlenaryBustedDirectory spec {minimal_init='./spec/minimal.vim'}"

3
spec/minimal.vim Normal file
View file

@ -0,0 +1,3 @@
set rtp+=.
packadd plenary.nvim
packadd nvim-treesitter