summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/install.lua
diff options
context:
space:
mode:
authorSirisak Lueangsaksri <1087399+spywhere@users.noreply.github.com>2021-11-06 00:50:28 +0700
committerStephan Seitz <stephan.seitz@fau.de>2021-11-08 15:04:38 +0100
commitaaf157a6a95b1e22783c658f1f9527751bd80968 (patch)
tree8c7b9fb0d44126a029645ef83e39857792dea67c /lua/nvim-treesitter/install.lua
parent83efae51bfe92163e7cb0d215d9e9f746830ab6f (diff)
feat: sync install for `ensure_installed`
Diffstat (limited to 'lua/nvim-treesitter/install.lua')
-rw-r--r--lua/nvim-treesitter/install.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua
index d57b4856..8b7dd042 100644
--- a/lua/nvim-treesitter/install.lua
+++ b/lua/nvim-treesitter/install.lua
@@ -521,6 +521,7 @@ function M.write_lockfile(verbose, skip_langs)
end
M.ensure_installed = install { exclude_configured_parsers = true }
+M.ensure_sync_installed = install { with_sync = true, exclude_configured_parsers = true }
M.commands = {
TSInstall = {