Skip to content

Commit 05bb674

Browse files
committed
feat: Added a fmt target
1 parent f2e851f commit 05bb674

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.stylua.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
column_width = 80
2+
line_endings = "Unix"
3+
indent_type = "Spaces"
4+
indent_width = 4
5+
quote_style = "AutoPreferDouble"

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@ all: lint test
55
test:
66
nvim --headless --noplugin -u scripts/minimal_init.vim -c "PlenaryBustedDirectory lua/tests/automated/ { minimal_init = './scripts/minimal_init.vim' }"
77

8+
fmt:
9+
stylua lua/ --config-path=.stylua.toml
10+
811
lint:
912
luacheck lua/greyjoy

0 commit comments

Comments
 (0)