aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorkiyan42 <yazdani.kiyan@protonmail.com>2020-06-29 16:07:16 +0200
committerThomas Vigouroux <39092278+vigoux@users.noreply.github.com>2020-06-30 08:32:49 +0200
commitce119de2e3a85ed7f0b081c6733ae167c2fc5599 (patch)
tree2cd70208b41ef9af9f62d5f534dd7f0e963bb960 /lua
parentJava highlights: Add operators ":" "?" (diff)
downloadnvim-treesitter-ce119de2e3a85ed7f0b081c6733ae167c2fc5599.tar
nvim-treesitter-ce119de2e3a85ed7f0b081c6733ae167c2fc5599.tar.gz
nvim-treesitter-ce119de2e3a85ed7f0b081c6733ae167c2fc5599.tar.bz2
nvim-treesitter-ce119de2e3a85ed7f0b081c6733ae167c2fc5599.tar.lz
nvim-treesitter-ce119de2e3a85ed7f0b081c6733ae167c2fc5599.tar.xz
nvim-treesitter-ce119de2e3a85ed7f0b081c6733ae167c2fc5599.tar.zst
nvim-treesitter-ce119de2e3a85ed7f0b081c6733ae167c2fc5599.zip
update installer with sync and some fixes
- add sync method for installing using `system` - remove `descriptions` in command configs - use install(lang) in ensure_installed and make it compatible
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/configs.lua12
-rw-r--r--lua/nvim-treesitter/info.lua6
-rw-r--r--lua/nvim-treesitter/install.lua139
3 files changed, 92 insertions, 65 deletions
diff --git a/lua/nvim-treesitter/configs.lua b/lua/nvim-treesitter/configs.lua
index da80c818d..c31ca4f29 100644
--- a/lua/nvim-treesitter/configs.lua
+++ b/lua/nvim-treesitter/configs.lua
@@ -184,32 +184,28 @@ M.commands = {
args = {
"-nargs=1",
"-complete=custom,v:lua.ts_available_modules"
- },
- description = '`:TSBufEnable module_name` enable a specified module on the current buffer'
+ }
},
TSBufDisable = {
run = disable_module,
args = {
"-nargs=1",