mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-03 18:28:38 +00:00
docs: docgen
This commit is contained in:
parent
fed1ba44cf
commit
ec191b3fe9
3 changed files with 12 additions and 0 deletions
|
@ -23,6 +23,7 @@ M.meta = {
|
|||
|
||||
---@class snacks.scope.Config
|
||||
---@field max_size? number
|
||||
---@field enabled? boolean
|
||||
local defaults = {
|
||||
-- absolute minimum size of the scope.
|
||||
-- can be less if the scope is a top-level single line scope
|
||||
|
@ -56,6 +57,9 @@ local defaults = {
|
|||
"for_statement",
|
||||
},
|
||||
},
|
||||
-- These keymaps will only be set if the `scope` plugin is enabled.
|
||||
-- Alternatively, you can set them manually in your config,
|
||||
-- using the `Snacks.scope.textobject` and `Snacks.scope.jump` functions.
|
||||
keys = {
|
||||
---@type table<string, snacks.scope.TextObject|{desc?:string}>
|
||||
textobject = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue