My personal configuration files and scripts.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

nvim: use main branch for nvim-treesitter

+7 -12
+1 -1
dot_config/nvim/lazy-lock.json
··· 19 19 "nui.nvim": { "branch": "main", "commit": "7cd18e73cfbd70e1546931b7268b3eebaeff9391" }, 20 20 "nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" }, 21 21 "nvim-surround": { "branch": "main", "commit": "8dd9150ca7eae5683660ea20cec86edcd5ca4046" }, 22 - "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, 22 + "nvim-treesitter": { "branch": "main", "commit": "f976acdc9c8214145a11372d2a7ae4a032f62a39" }, 23 23 "nvim-web-devicons": { "branch": "master", "commit": "1fb58cca9aebbc4fd32b086cb413548ce132c127" }, 24 24 "pathlib.nvim": { "branch": "main", "commit": "57e5598af6fe253761c1b48e0b59b7cd6699e2c1" }, 25 25 "pear-tree": { "branch": "master", "commit": "2d2fb6d5893d26be2ef280852f80494ff166529a" },
+6 -11
dot_config/nvim/lua/config.lua
··· 367 367 -- Language Support ⦃ 368 368 { 369 369 "nvim-treesitter/nvim-treesitter", 370 + -- TODO: Remove this once main is the default branch. 371 + branch = "main", 372 + lazy = false, 370 373 build = function() 371 - require("nvim-treesitter.install").update({ with_sync = true })() 372 - end, 373 - config = function() 374 - require("nvim-treesitter.configs").setup({ 375 - ensure_installed = { 374 + local ts = require("nvim-treesitter") 375 + ts.install({ 376 376 "bash", 377 377 "bibtex", 378 378 "c", ··· 424 424 "wit", 425 425 "yaml", 426 426 "zig", 427 - }, 428 - highlight = { 429 - enable = true, 430 - additional_vim_regex_highlighting = false, 431 - }, 432 - indent = { enable = true }, 433 427 }) 428 + ts.update() 434 429 end, 435 430 }, 436 431 { "Shirk/vim-gas" },