From f02bfafd256280b092cec10d51463af375e5d015 Mon Sep 17 00:00:00 2001 From: "Timofey.Kovalev" Date: Mon, 27 Jan 2025 11:29:03 +0300 Subject: [PATCH] commit --- lua/config/keymaping.lua | 2 +- lua/plugins/treesitter.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/config/keymaping.lua b/lua/config/keymaping.lua index 0240f4a..9df57f3 100644 --- a/lua/config/keymaping.lua +++ b/lua/config/keymaping.lua @@ -38,7 +38,7 @@ local snacks = require("snacks") map("n", "g", snacks.picker.grep, { desc = "telescope live grep" }) map("n", "f", snacks.picker.files, { desc = "telescope lsp references" }) map("n", "r", snacks.picker.lsp_references, { desc = "telescope lsp references" }) -map("n", "d", snacks.picker.lsp_definitions, { desc = "telescope lsp definitions" }) +map("n", "", snacks.picker.lsp_definitions, { desc = "telescope lsp definitions" }) -- map("n", "gg", snacks.picker.git_log, { desc = "telescope live grep" }) -- barbar diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 5c4da99..3f64cb8 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -2,7 +2,7 @@ return { "nvim-treesitter/nvim-treesitter", config = function() require("nvim-treesitter.configs").setup({ - ensure_installed = { "go", "lua", "luadoc", "printf", "vim", "vimdoc" }, + ensure_installed = { "go", "lua", "luadoc", "printf", "vim", "vimdoc", "json" }, highlight = { enable = true,