Skip to content

Commit

Permalink
garden: move stylua options into .styluarc
Browse files Browse the repository at this point in the history
  • Loading branch information
davvid committed Feb 19, 2024
1 parent a6d5612 commit a9b2aa0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .stylua.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_width = 88
line_endings = "Unix"
indent_type = "Spaces"
indent_width = 4
quote_style = "AutoPreferSingle"
13 changes: 3 additions & 10 deletions garden.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,13 @@ trees:
doc/post: |
sed -i -e 's/Generated by panvimdoc.*//' doc/${TREE_NAME}.txt
nvim +'helptags doc | exit'
fmt: |
stylua \
--call-parentheses Always \
--column-width 88 \
--indent-type Spaces \
--quote-style AutoPreferSingle \
"$@" \
lua/*/*.lua
fmt: stylua "$@" lua/*/*.lua
setup: |
garden -vv grow panvimdoc
garden -vv setup panvimdoc
garden -vv deps panvimdoc
panvimdoc:
description: Generate vimdoc documentation from pandoc markdown
url: https://github.com/kdheepak/panvimdoc.git
commands:
setup: sudo apt install pandoc
deps: sudo apt install pandoc

0 comments on commit a9b2aa0

Please sign in to comment.