feat: Adding config files
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
return {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
build = ':TSUpdate', -- Automatically update parsers on update
|
||||
config = function()
|
||||
require('nvim-treesitter.configs').setup {
|
||||
ensure_installed = { "lua", "javascript", "python", "bash", "java", "c", "markdown", "go" }, -- Add other languages as needed
|
||||
highlight = { enable = true }, -- Enable syntax highlighting using Tree-sitter
|
||||
indent = { enable = true }, -- Enable indentation based on Tree-sitter
|
||||
-- You can add other Tree-sitter modules here as needed
|
||||
}
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user