diff options
| author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-08-28 16:17:20 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-09-01 21:51:17 +0200 |
| commit | 545e5c479a06724fa0f32848886069e04576d9bd (patch) | |
| tree | 20c7dc6a4631f08675333ac234c403cd132b4abb /queries/lua | |
| parent | use xmap in detach (diff) | |
| download | nvim-treesitter-545e5c479a06724fa0f32848886069e04576d9bd.tar nvim-treesitter-545e5c479a06724fa0f32848886069e04576d9bd.tar.gz nvim-treesitter-545e5c479a06724fa0f32848886069e04576d9bd.tar.bz2 nvim-treesitter-545e5c479a06724fa0f32848886069e04576d9bd.tar.lz nvim-treesitter-545e5c479a06724fa0f32848886069e04576d9bd.tar.xz nvim-treesitter-545e5c479a06724fa0f32848886069e04576d9bd.tar.zst nvim-treesitter-545e5c479a06724fa0f32848886069e04576d9bd.zip | |
fix(fold): revamp fold
fix(fold): typo
fix(fold): remove debug and add queries
fix(fold): fallback to local scopes for folds
Diffstat (limited to 'queries/lua')
| -rw-r--r-- | queries/lua/fold.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/queries/lua/fold.scm b/queries/lua/fold.scm new file mode 100644 index 000000000..da8d1cb75 --- /dev/null +++ b/queries/lua/fold.scm @@ -0,0 +1,9 @@ +[ + (for_in_statement) + (for_statement) + (if_statement) + (function_definition) + (function) + (while_statement) + (table) + ] @fold |
