aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/plugins')
-rw-r--r--nvim/lua/plugins/editing.lua4
-rw-r--r--nvim/lua/plugins/telescope.lua7
-rw-r--r--nvim/lua/plugins/treesitter.lua3
3 files changed, 11 insertions, 3 deletions
diff --git a/nvim/lua/plugins/editing.lua b/nvim/lua/plugins/editing.lua
index 4a80d2b..d1c3447 100644
--- a/nvim/lua/plugins/editing.lua
+++ b/nvim/lua/plugins/editing.lua
@@ -1,6 +1,6 @@
1return { 1return {
2 { "tpope/vim-repeat" }, 2 { "tpope/vim-repeat", event = "VeryLazy" },
3 { "tpope/vim-surround" }, 3 { "tpope/vim-surround", event = "VeryLazy" },
4 4
5 { 5 {
6 "romainl/vim-cool", 6 "romainl/vim-cool",
diff --git a/nvim/lua/plugins/telescope.lua b/nvim/lua/plugins/telescope.lua
index 7633892..8c2cae5 100644
--- a/nvim/lua/plugins/telescope.lua
+++ b/nvim/lua/plugins/telescope.lua
@@ -5,5 +5,12 @@ return {
5 "nvim-lua/plenary.nvim", 5 "nvim-lua/plenary.nvim",
6 }, 6 },
7 lazy = true, 7 lazy = true,
8 keys = {
9 { "<leader>ff", "<cmd>Telescope find_files<cr>", desc = "Find files" },
10 { "<leader>fg", "<cmd>Telescope live_grep<cr>", desc = "Live grep" },
11 { "<leader>fb", "<cmd>Telescope buffers<cr>", desc = "Buffers" },
12 { "<leader>fh", "<cmd>Telescope help_tags<cr>", desc = "Help tags" },
13 { "<leader>dd", "<cmd>Telescope diagnostics<cr>", desc = "Diagnostics" },
14 },
8 }, 15 },
9} 16}
diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua
index 235c0b5..66cd717 100644
--- a/nvim/lua/plugins/treesitter.lua
+++ b/nvim/lua/plugins/treesitter.lua
@@ -9,7 +9,8 @@ return {
9 "nvim-treesitter/nvim-treesitter", 9 "nvim-treesitter/nvim-treesitter",
10 branch = "main", 10 branch = "main",
11 build = ":TSUpdate", 11 build = ":TSUpdate",
12 lazy = false, 12 event = "BufReadPost",
13 lazy = true,
13 config = function() 14 config = function()
14 local treesitter = require("nvim-treesitter") 15 local treesitter = require("nvim-treesitter")
15 local langs = require("config.treesitter").languages 16 local langs = require("config.treesitter").languages