Public Access
changed
This commit is contained in:
@@ -25,6 +25,14 @@ return {
|
||||
-- You can use the capture groups defined in textobjects.scm
|
||||
["af"] = "@function.outer",
|
||||
["if"] = "@function.inner",
|
||||
["ai"] = "@conditional.outer",
|
||||
["ii"] = "@conditional.inner",
|
||||
["ao"] = "@block.outer",
|
||||
["io"] = "@block.inner",
|
||||
["aO"] = "@object.outer",
|
||||
["iO"] = "@object.inner",
|
||||
["aa"] = "@array.outer",
|
||||
["ia"] = "@array.inner",
|
||||
},
|
||||
-- You can choose the select mode (default is charwise 'v')
|
||||
--
|
||||
@@ -33,11 +41,7 @@ return {
|
||||
-- * method: eg 'v' or 'o'
|
||||
-- and should return the mode ('v', 'V', or '<c-v>') or a table
|
||||
-- mapping query_strings to modes.
|
||||
selection_modes = {
|
||||
["@parameter.outer"] = "v", -- charwise
|
||||
["@function.outer"] = "v",
|
||||
["@class.outer"] = "<c-v>", -- blockwise
|
||||
},
|
||||
selection_modes = {},
|
||||
-- If you set this to `true` (default is `false`) then any textobject is
|
||||
-- extended to include preceding or succeeding whitespace. Succeeding
|
||||
-- whitespace has priority in order to act similarly to eg the built-in
|
||||
|
||||
Reference in New Issue
Block a user