Skip to content

Commit 647e5f0

Browse files
nvim v0.12.1 with necessary nvim-treesitter update
1 parent 8df4b8d commit 647e5f0

2 files changed

Lines changed: 8 additions & 11 deletions

File tree

nvim/lazy-lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" },
1919
"nvim-lspconfig": { "branch": "master", "commit": "cbd1e91296189a765094810de1b71a04e2597579" },
2020
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
21-
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
21+
"nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" },
2222
"nvim-web-devicons": { "branch": "master", "commit": "8dcb311b0c92d460fac00eac706abd43d94d68af" },
2323
"oil.nvim": { "branch": "master", "commit": "7e1cd7703ff2924d7038476dcbc04b950203b902" },
2424
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },

nvim/lua/plugins/treesitter.lua

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
local function configure()
2-
require("nvim-treesitter.configs").setup({
3-
auto_install = true,
4-
highlight = {
5-
enable = true,
6-
},
7-
})
8-
end
9-
101
-- Print directory with treesitter parsers
112
-- :lua= require("nvim-treesitter.configs").get_parser_install_dir()
123

134
return {
145
"nvim-treesitter/nvim-treesitter",
6+
branch = "main",
157
build = ":TSUpdate",
16-
config = configure,
8+
opts = {
9+
auto_install = true,
10+
highlight = {
11+
enable = true,
12+
},
13+
},
1714
}

0 commit comments

Comments
 (0)