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

7 lines
217 B
Lua

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