From d4e8bd6e575a663ce0018d51a9dcd12780084aa3 Mon Sep 17 00:00:00 2001 From: m-b-t-n Date: Mon, 6 Jan 2025 13:16:51 +0900 Subject: [PATCH] neovim: Add nvim-treesitter https://github.com/nvim-treesitter/nvim-treesitter/wiki/Installation#lazynvim refs #206 --- neovim/init.lua | 1 + neovim/lazy-lock.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/neovim/init.lua b/neovim/init.lua index d152cf8..9ba76ba 100644 --- a/neovim/init.lua +++ b/neovim/init.lua @@ -25,6 +25,7 @@ vim.g.maplocalleader = "\\" require("lazy").setup({ spec = { -- add your plugins here + {"nvim-treesitter/nvim-treesitter", build = ":TSUpdate"} }, -- Configure any other settings here. See the documentation for more details. -- colorscheme that will be used when installing plugins. diff --git a/neovim/lazy-lock.json b/neovim/lazy-lock.json index 3dbf9f9..5767941 100644 --- a/neovim/lazy-lock.json +++ b/neovim/lazy-lock.json @@ -1,3 +1,4 @@ { - "lazy.nvim": { "branch": "main", "commit": "72aa3a2624be5dc240646084f7b6a38eb99eb2ce" } + "lazy.nvim": { "branch": "main", "commit": "72aa3a2624be5dc240646084f7b6a38eb99eb2ce" }, + "nvim-treesitter": { "branch": "master", "commit": "556ac68cd33973a38d3f2abac47f361432593fe2" } }