fix: indentation when no treesitter parser is available #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lemmy-help | |
on: [push] | |
env: | |
PLUGIN_NAME: split | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
name: emmylua to vimdoc | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Generating help | |
run: | | |
curl -Lq https://github.com/numToStr/lemmy-help/releases/latest/download/lemmy-help-x86_64-unknown-linux-gnu.tar.gz | tar xz | |
./lemmy-help -fact --layout mini:4 lua/split/{init.lua,interactivity.lua,config.lua,utils.lua,algorithm.lua} > doc/${{env.PLUGIN_NAME}}.txt | |
- name: Commit | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
branch: ${{ github.head_ref }} | |
commit_message: "chore(docs): auto-generate vimdoc" | |
file_pattern: doc/*.txt |