Skip to content

Commit 9f0432f

Browse files
committed
ci: nvim 0.10+ have builtin markdown parsers/queries
1 parent 8f5a5ae commit 9f0432f

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

.github/workflows/vimdoc.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,10 @@ jobs:
3030
run: |
3131
nvim --headless -l scripts/gen_options.lua
3232
make gen
33-
- name: Setup treesitter
33+
- name: Generating vimdoc
3434
run: |
3535
mkdir -p ~/.local/share/nvim/site/pack/vendor/start
3636
git clone --depth 1 https://github.com/ibhagwan/ts-vimdoc.nvim ~/.local/share/nvim/site/pack/vendor/start/ts-vimdoc.nvim
37-
git clone --depth 1 https://github.com/nvim-treesitter/nvim-treesitter ~/.local/share/nvim/site/pack/vendor/start/nvim-treesitter
38-
- name: Build parser
39-
run: |
40-
export PACKPATH=$HOME/.local/share/nvim/site
41-
nvim --headless -u ~/.local/share/nvim/site/pack/vendor/start/ts-vimdoc.nvim/scripts/init.lua -c "TSUpdateSync markdown" -c "TSUpdateSync markdown_inline" -c "qa"
42-
- name: Generating vimdoc
43-
run: |
4437
export PATH="${PWD}/build/:${PATH}"
4538
export PACKPATH=$HOME/.local/share/nvim/site
4639
nvim --headless -u ~/.local/share/nvim/site/pack/vendor/start/ts-vimdoc.nvim/scripts/init.lua -c "lua require('ts-vimdoc').docgen({input_file='README.md', output_file='doc/fzf-lua.txt', project_name='fzf-lua', version='For Neovim >= 0.9.0'})" -c "qa"

0 commit comments

Comments
 (0)