aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/treesitter.lua18
1 files changed, 10 insertions, 8 deletions
diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua
index 4b9a806..1fb9e59 100644
--- a/lua/plugins/treesitter.lua
+++ b/lua/plugins/treesitter.lua
@@ -9,19 +9,21 @@ return {
config = function()
require("nvim-treesitter.configs").setup {
ensure_installed = {
- "php",
- "phpdoc",
- "vim",
+ "css",
"go",
"gomod",
- "css",
"html",
"javascript",
"lua",
+ "markdown",
+ "markdown_inline",
+ "php",
+ "phpdoc",
+ "query",
+ "rust",
"typescript",
+ "vim",
"yaml",
- "query",
- "markdown",
},
highlight = {
enable = true,
@@ -31,7 +33,7 @@ return {
enable = true,
},
incremental_selection = {
- enable = true,
+ enable = false,
keymaps = {
init_selection = "gnn",
node_incremental = "grn",
@@ -42,7 +44,7 @@ return {
refactor = {
highlight_definitions = { enable = true },
smart_rename = {
- enable = true,
+ enable = false,
keymaps = {
smart_rename = "trr",
},