[docgen] Update README.md

skip-checks: true
This commit is contained in:
Github Actions 2020-12-10 16:32:20 +00:00 committed by Kiyan
parent 6142223557
commit d8f75f0b09
4 changed files with 25 additions and 8 deletions

View file

@ -1,3 +1,10 @@
-- Execute as `nvim --headless -c "luafile ./scripts/write-lockfile.lua"`
require 'nvim-treesitter.install'.write_lockfile('verbose')
local skip_langs = vim.fn.getenv('SKIP_LOCKFILE_UPDATE_FOR_LANGS')
if skip_langs == vim.NIL then
skip_langs = {}
else
skip_langs = vim.fn.split(skip_langs, ',')
end
print("Skipping languages: "..vim.inspect(skip_langs))
require 'nvim-treesitter.install'.write_lockfile('verbose', skip_langs)
vim.cmd('q')