Skip to content

Commit

Permalink
Select outer function linewise
Browse files Browse the repository at this point in the history
  • Loading branch information
dietrichm committed Feb 25, 2024
1 parent 482844d commit 25266d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nvim/.config/nvim/lua/dietrichm/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ treesitter.setup {
['af'] = '@function.outer',
['if'] = '@function.inner',
},
selection_modes = {
['@function.outer'] = 'V',
},
},
move = {
enable = true,
Expand Down

0 comments on commit 25266d8

Please sign in to comment.