feat(treesitter): allow run TSUpdateSync from command line (#944)
Use a script to keep the neovim updated is really useful, but is not possible by default because TSUpdateSync is not on `cmd` commands. ```sh nvim --headless "+Lazy! sync" "+TSUpdateSync" +qa ```
This commit is contained in:
1 parent
b37616c203
commit
6b1efe78e2
1 file changed
+1
@@ -4,6 +4,7 @@ return {
|
||||
version = false, -- last release is way too old and doesn't work on Windows
|
||||
build = ":TSUpdate",
|
||||
event = { "BufReadPost", "BufNewFile" },
|
||||
cmd = { "TSUpdateSync" },
|
||||
dependencies = {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter-textobjects",
|
||||
|
||||
Reference in new issue
Block a user