This commit is contained in:
sankalp committed 2024-08-14 14:40:31 +05:45
1 parent 3709c38c6d
commit d93e388067
17 files changed
+261 -223

No files matched your search

+28 -11
View File
@@ -1,18 +1,35 @@
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate',
dependencies = {
'windwp/nvim-ts-autotag',
},
event = { 'BufReadPre', 'BufNewFile' },
config = function()
local configs = require("nvim-treesitter.configs")
config = function()
local configs = require('nvim-treesitter.configs')
configs.setup({
ensure_installed = { "c", "lua", "vim", "vimdoc", "python", "cpp", "html", "css", "javascript", "typescript", "json", "php", "gdscript", 'markdown', 'markdown_inline', 'bash','java' },
sync_install = true,
highlight = { enable = true },
indent = { enable = true },
})
end,
configs.setup({
ensure_installed = {
'c',
'lua',
'vim',
'vimdoc',
'python',
'cpp',
'html',
'css',
'javascript',
'typescript',
'json',
'php',
'markdown',
'markdown_inline',
'bash',
'java',
},
sync_install = true,
highlight = { enable = true },
indent = { enable = true },
})
end,
}