aboutsummaryrefslogtreecommitdiffstats
path: root/after/plugin
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-02-19 21:04:27 +0100
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-02-19 21:04:27 +0100
commit1a13d2375bad70b372b89cd06beb3c726ed93f5c (patch)
tree4ffae4e5d89b23c73f64f3c29d1f49a1ba9eaca4 /after/plugin
parent9a297aef71c0e1bac094ccbf0b33f8c34b6030a3 (diff)
downloadnvim-conf-1a13d2375bad70b372b89cd06beb3c726ed93f5c.tar.gz
nvim-conf-1a13d2375bad70b372b89cd06beb3c726ed93f5c.zip
update snippets, treesitter config
Diffstat (limited to 'after/plugin')
-rw-r--r--after/plugin/treesitter.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/after/plugin/treesitter.lua b/after/plugin/treesitter.lua
index f2f5360..cff85bc 100644
--- a/after/plugin/treesitter.lua
+++ b/after/plugin/treesitter.lua
@@ -3,7 +3,7 @@ if not pcall(require, "nvim-treesitter") then
end
require "nvim-treesitter.configs".setup {
- ensure_installed = {"php", "go", "comment", "css", "html", "javascript", "lua", "typescript"},
+ ensure_installed = {"php", "phpdoc", "vim", "go", "comment", "css", "html", "javascript", "lua", "typescript"},
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
@@ -12,7 +12,7 @@ require "nvim-treesitter.configs".setup {
enable = true,
},
incremental_selection = {
- enable = true,
+ enable = false,
keymaps = {
init_selection = "gnn",
node_incremental = "grn",
@@ -25,7 +25,7 @@ require "nvim-treesitter.configs".setup {
smart_rename = {
enable = true,
keymaps = {
- smart_rename = "grr",
+ smart_rename = "trr",
},
},
},