aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-06-07 14:21:00 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2019-09-28 14:55:43 +0200
commit005b6d638caa200711bf5960e0c0d70ba5721c94 (patch)
treef8513f54348ab32ba8ef49646c1be0eda251aa24 /runtime/plugin
parentc07e1e8696826579f017c9b401fe264d70384ceb (diff)
downloadrneovim-005b6d638caa200711bf5960e0c0d70ba5721c94.tar.gz
rneovim-005b6d638caa200711bf5960e0c0d70ba5721c94.tar.bz2
rneovim-005b6d638caa200711bf5960e0c0d70ba5721c94.zip
tree-sitter: split tree-sitter lua interface from demo code
Diffstat (limited to 'runtime/plugin')
-rw-r--r--runtime/plugin/ts_test.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/plugin/ts_test.vim b/runtime/plugin/ts_test.vim
index e40e2792e1..d048dbe7c8 100644
--- a/runtime/plugin/ts_test.vim
+++ b/runtime/plugin/ts_test.vim
@@ -6,7 +6,8 @@ func! TSTest()
return
end
" TODO: module!
- lua require'treesitter_rt'
+ lua require'vim.tree_sitter'
+ lua require'tree_sitter_demo'
lua theparser = create_parser(vim.api.nvim_get_current_buf())
let g:has_ts = v:true
endfunc