mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(CI): auto-update README.md
This commit is contained in:
parent
ac13baadb6
commit
ffe7d96dfd
3 changed files with 17 additions and 10 deletions
|
|
@ -37,8 +37,5 @@ if string.find(readme_text, generated_text, 1, 'plain') then
|
|||
else
|
||||
print("New README.md was written. Please commit that change! Old text was: ")
|
||||
print(string.sub(readme_text, string.find(readme_text, "<!%-%-parserinfo%-%->.*<!%-%-parserinfo%-%->")))
|
||||
print("\n")
|
||||
print('If you see this on CI, please run `nvim --headless -c "luafile ./scripts/update-readme.lua"` '
|
||||
..'locally and commit the changes!')
|
||||
vim.cmd('cq')
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue