aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-02-03 11:07:33 +0100
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-02-03 11:07:33 +0100
commit1b20c995ab342f6fc5f6fb8b3e6246ec5e68f629 (patch)
treea75a650a355eaa1768c49776c7f3e496af473190 /lua
parent99bbda5cb95451132ac14ca5aec02cdd70fb9bcb (diff)
downloadnvim-conf-1b20c995ab342f6fc5f6fb8b3e6246ec5e68f629.tar.gz
nvim-conf-1b20c995ab342f6fc5f6fb8b3e6246ec5e68f629.zip
feat: add treesitter missing languages
Diffstat (limited to 'lua')
-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",
},