format treesitter config

This commit is contained in:
Oliver Hartmann 2023-10-15 13:07:22 +02:00
parent e3d31b3978
commit a251c74619

View File

@ -3,7 +3,7 @@ return {
version = '*', version = '*',
build = ':TSUpdate', build = ':TSUpdate',
config = function() config = function()
require('nvim-treesitter.install').compilers = {'gcc'} require('nvim-treesitter.install').compilers = { 'gcc' }
require('nvim-treesitter.configs').setup({ require('nvim-treesitter.configs').setup({
ensure_installed = 'all', ensure_installed = 'all',
modules = {}, modules = {},
@ -12,7 +12,7 @@ return {
ignore_install = {}, ignore_install = {},
highlight = { highlight = {
enable = true, enable = true,
additional_vim_regex_highlighting = {'markdown'} additional_vim_regex_highlighting = { 'markdown' }
}, },
rainbow = { rainbow = {
enable = true, enable = true,