Commit a7ad987
Changed files (1)
.config
nvim
lua
plugins
.config/nvim/lua/plugins/nvim-treesitter.lua
@@ -1,16 +1,30 @@
+-- return {
+-- "nvim-treesitter/nvim-treesitter",
+-- build = ":TSUpdate",
+-- config = function()
+-- local configs = require("nvim-treesitter.configs")
+-- configs.setup({
+-- ensure_installed = { "c", "cpp", "go",
+-- "rust", "css", "lua", "vim",
+-- "vimdoc", "javascript", "html",
+-- "typescript", "json", "make", "cmake",
+-- "python", "yaml", "bash" },
+-- indent = { enable = true }
+-- })
+-- end
+-- }
+
+
return {
- "nvim-treesitter/nvim-treesitter",
- build = ":TSUpdate",
+ "romus204/tree-sitter-manager.nvim",
config = function()
- local configs = require("nvim-treesitter.configs")
- configs.setup({
- ensure_installed = { "c","cpp","go",
- "rust","css", "lua", "vim",
- "vimdoc", "javascript", "html",
- "typescript","json","make","cmake",
- "python","yaml","bash"},
- highlight = { enable = true },
- indent = { enable = true }
+ require("tree-sitter-manager").setup({
+ ensure_installed = {
+ "c", "cpp", "go", "rust", "css", "lua",
+ "javascript", "typescript", "json",
+ "python", "bash", "markdown", "markdown_inline",
+ },
+ auto_install = true,
})
end
}