dotfiles/modules/programs/nvim/plugins/lua/nvim-treesitter-textsubject...

8 lines
217 B
Lua

require("nvim-treesitter.configs").setup({
textsubjects = {
enable = true,
prev_selection = ",", -- (Optional) keymap to select the previous selection
keymaps = { ["."] = "textsubjects-smart" },
},
})