diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/lua/treesitter_demo.lua (renamed from runtime/lua/tree_sitter_demo.lua) | 1 | ||||
-rw-r--r-- | runtime/lua/vim/treesitter.lua (renamed from runtime/lua/vim/tree_sitter.lua) | 0 | ||||
-rw-r--r-- | runtime/plugin/ts_test.vim | 4 |
3 files changed, 3 insertions, 2 deletions
diff --git a/runtime/lua/tree_sitter_demo.lua b/runtime/lua/treesitter_demo.lua index bbfd69109d..82c36f94c0 100644 --- a/runtime/lua/tree_sitter_demo.lua +++ b/runtime/lua/treesitter_demo.lua @@ -1,3 +1,4 @@ +-- TODO: externalize this local a = vim.api _G.a = vim.api diff --git a/runtime/lua/vim/tree_sitter.lua b/runtime/lua/vim/treesitter.lua index 1b5f416b67..1b5f416b67 100644 --- a/runtime/lua/vim/tree_sitter.lua +++ b/runtime/lua/vim/treesitter.lua diff --git a/runtime/plugin/ts_test.vim b/runtime/plugin/ts_test.vim index 9420c2c9d3..15192d8dda 100644 --- a/runtime/plugin/ts_test.vim +++ b/runtime/plugin/ts_test.vim @@ -6,8 +6,8 @@ func! TSTest() return end " TODO: module! - lua theparser = vim.tree_sitter.create_parser(0) - lua require'tree_sitter_demo' + lua theparser = vim.treesitter.create_parser(0) + lua require'treesitter_demo' let g:has_ts = v:true endfunc |