aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin/ts_test.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/plugin/ts_test.vim')
-rw-r--r--runtime/plugin/ts_test.vim3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/plugin/ts_test.vim b/runtime/plugin/ts_test.vim
index d048dbe7c8..76318163f6 100644
--- a/runtime/plugin/ts_test.vim
+++ b/runtime/plugin/ts_test.vim
@@ -6,9 +6,8 @@ func! TSTest()
return
end
" TODO: module!
- lua require'vim.tree_sitter'
+ lua theparser = require'vim.tree_sitter'.create_parser(0)
lua require'tree_sitter_demo'
- lua theparser = create_parser(vim.api.nvim_get_current_buf())
let g:has_ts = v:true
endfunc