diff options
| author | Björn Linse <bjorn.linse@gmail.com> | 2019-06-21 14:14:51 +0200 |
|---|---|---|
| committer | Björn Linse <bjorn.linse@gmail.com> | 2019-09-28 17:46:25 +0200 |
| commit | 06ee45b9b1c14c7ce6cb23403cdbe2852d495cad (patch) | |
| tree | 307c230ae37ebd6775b7066c92991c7ba7038ed4 /runtime/plugin | |
| parent | 167a1cfdef0c4b3526830ad0356f06bf480df6af (diff) | |
| download | rneovim-06ee45b9b1c14c7ce6cb23403cdbe2852d495cad.tar.gz rneovim-06ee45b9b1c14c7ce6cb23403cdbe2852d495cad.tar.bz2 rneovim-06ee45b9b1c14c7ce6cb23403cdbe2852d495cad.zip | |
tree-sitter: fix lint, delete "demo" plugin (replaced by functional tests)
Diffstat (limited to 'runtime/plugin')
| -rw-r--r-- | runtime/plugin/ts_test.vim | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/runtime/plugin/ts_test.vim b/runtime/plugin/ts_test.vim deleted file mode 100644 index 15192d8dda..0000000000 --- a/runtime/plugin/ts_test.vim +++ /dev/null @@ -1,32 +0,0 @@ -let g:ts_test_path = expand("<sfile>:p:h:h") -let g:has_ts = v:false - -func! TSTest() - if g:has_ts - return - end - " TODO: module! - lua theparser = vim.treesitter.create_parser(0) - lua require'treesitter_demo' - let g:has_ts = v:true -endfunc - -func! TSCursor() - " disable matchparen - NoMatchParen - call TSTest() - au CursorMoved <buffer> lua ts_cursor() - au CursorMovedI <buffer> lua ts_cursor() - map <buffer> <Plug>(ts-expand) <cmd>lua ts_expand_node()<cr> -endfunc - -func! TSSyntax() - " disable matchparen - set syntax= - call TSTest() - lua ts_syntax() -endfunc - -command! TSTest call TSTest() -command! TSCursor call TSCursor() -command! TSSyntax call TSSyntax() |