use tree-sitter-manager.nvim

This commit is contained in:
Ivar Fatland
2026-04-28 20:55:14 +02:00
parent fd2dc8c345
commit 38099ee55d
+8 -4
View File
@@ -226,10 +226,6 @@ vim.api.nvim_create_autocmd({
end end
}) })
-- tree sitter {{{1
vim.treesitter.language.register('rust', 'rust')
vim.treesitter.language.register('c_sharp', 'cs')
-- FILE SPECIFIC AND AUTOCMDS {{{1 -- FILE SPECIFIC AND AUTOCMDS {{{1
local file_specific = { local file_specific = {
c = function() c = function()
@@ -379,6 +375,14 @@ end
vim.opt.rtp:prepend(lazypath) vim.opt.rtp:prepend(lazypath)
require'lazy'.setup{ --{{{1 require'lazy'.setup{ --{{{1
{ "romus204/tree-sitter-manager.nvim", --{{{2
dependencies = {}, -- tree-sitter CLI must be installed system-wide
config = function()
require("tree-sitter-manager").setup({
auto_install = true
})
end
},
{ 'stevearc/oil.nvim', --{{{2 { 'stevearc/oil.nvim', --{{{2
---@module 'oil' ---@module 'oil'
---@type oil.SetupOpts ---@type oil.SetupOpts