Skip to content

Commit bb2588d

Browse files
committed
✨ Using main treesitter
Signed-off-by: Fredrik Klingenberg <fredrkl@gmail.com>
1 parent 66f1327 commit bb2588d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lua/fredrkl/plugins/nvim-treesitter.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ return {
22
-- Highlight, edit, and navigate code
33
'nvim-treesitter/nvim-treesitter',
44
event = "BufRead",
5+
branch = 'main',
56
dependencies = {
67
'nvim-treesitter/nvim-treesitter-textobjects',
78
},
89
build = ':TSUpdate',
910
config = function()
10-
require'nvim-treesitter.configs'.setup {
11-
ensure_installed = {"bicep", "terraform", "c_sharp", "rust", "lua", "xml", "http", "json", "graphql"},
11+
require("nvim-treesitter.config").setup {
12+
ensure_installed = {"bicep", "terraform", "c_sharp", "rust", "lua", "xml", "http", "json", "graphql", "diff"},
1213
highlight = {
1314
enable = true,
1415
},

0 commit comments

Comments
 (0)