12 lines
302 B
Lua
12 lines
302 B
Lua
require("nvim-treesitter.configs").setup({
|
|
textsubjects = {
|
|
enable = true,
|
|
prev_selection = ",", -- (Optional) keymap to select the previous selection
|
|
keymaps = {
|
|
["."] = "textsubjects-smart",
|
|
[";"] = "textsubjects-container-outer",
|
|
["i;"] = "textsubjects-container-inner",
|
|
},
|
|
},
|
|
})
|