diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-07-09 15:26:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-09 15:26:48 +0200 |
commit | 51d85f7ea58bd715cec1fdfa8d19826cafe7185d (patch) | |
tree | 2fb27e61fe757ecfcb0c73855a1d103f6384af97 /test/functional/treesitter/fold_spec.lua | |
parent | 487f44a6c14f83a4f80a4d03a4a8c16ad690927a (diff) | |
download | rneovim-51d85f7ea58bd715cec1fdfa8d19826cafe7185d.tar.gz rneovim-51d85f7ea58bd715cec1fdfa8d19826cafe7185d.tar.bz2 rneovim-51d85f7ea58bd715cec1fdfa8d19826cafe7185d.zip |
build(deps): drop unused bundled bash, python parsers and queries
Problem: Neovim bundles treesitter parsers for bash and python but does
not use them by default. This dilutes the messaging about the bundled
parsers being required for functionality or reasonable out-of-the-box
experience. It also increases the risk of query incompatibilities for no
gain.
Solution: Stop bundling bash and python parser and queries.
Diffstat (limited to 'test/functional/treesitter/fold_spec.lua')
-rw-r--r-- | test/functional/treesitter/fold_spec.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/functional/treesitter/fold_spec.lua b/test/functional/treesitter/fold_spec.lua index 6d33544cd4..3e81cebe71 100644 --- a/test/functional/treesitter/fold_spec.lua +++ b/test/functional/treesitter/fold_spec.lua @@ -408,15 +408,15 @@ t3]]) it('handles quantified patterns', function() insert([[ -import hello -import hello -import hello -import hello -import hello -import hello]]) - - exec_lua([[vim.treesitter.query.set('python', 'folds', '(import_statement)+ @fold')]]) - parse('python') +-- hello +-- hello +-- hello +-- hello +-- hello +-- hello]]) + + exec_lua([[vim.treesitter.query.set('lua', 'folds', '(comment)+ @fold')]]) + parse('lua') eq({ [1] = '>1', |