diff options
| author | Santos Gallegos <stsewd@protonmail.com> | 2021-07-04 16:12:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-04 21:12:17 +0000 |
| commit | be8f65608796e50aa2e2da5452849c263558f0ed (patch) | |
| tree | 39f6057de9026ab312c3bb838e773910129b5575 /CONTRIBUTING.md | |
| parent | feat(keywords) merge return and yield into keyword.return group (diff) | |
| download | nvim-treesitter-be8f65608796e50aa2e2da5452849c263558f0ed.tar nvim-treesitter-be8f65608796e50aa2e2da5452849c263558f0ed.tar.gz nvim-treesitter-be8f65608796e50aa2e2da5452849c263558f0ed.tar.bz2 nvim-treesitter-be8f65608796e50aa2e2da5452849c263558f0ed.tar.lz nvim-treesitter-be8f65608796e50aa2e2da5452849c263558f0ed.tar.xz nvim-treesitter-be8f65608796e50aa2e2da5452849c263558f0ed.tar.zst nvim-treesitter-be8f65608796e50aa2e2da5452849c263558f0ed.zip | |
Use stylua for autoformat code (#1480)
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dbf3c3d26..b89e13ae1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,12 +15,13 @@ Depending on which part of the plugin you want to contribute to, please read the ## Style Checks and Tests We haven't implemented any functional tests yet. Feel free to contribute. -However, we check code style with `luacheck`! +However, we check code style with `luacheck` and `stylua`! Please install luacheck and activate our `pre-push` hook to automatically check style before every push: ```bash luarocks install luacheck +cargo install stylua ln -s ../../scripts/pre-push .git/hooks/pre-push ``` |
