From 425f6135ec366b9c38b00c8936ad728dbf377714 Mon Sep 17 00:00:00 2001 From: Nanderty Date: Tue, 21 Mar 2023 19:22:45 +0100 Subject: lazy all --- lua/plugins/treesitter.lua | 51 ++++++++++++++++++++++++---------------------- 1 file changed, 27 insertions(+), 24 deletions(-) (limited to 'lua/plugins/treesitter.lua') diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 6f2fa4e..4e488ad 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -1,26 +1,29 @@ return { - { - 'nvim-treesitter/nvim-treesitter', - build = ":TSUpdate", - event = { "BufReadPost", "BufNewFile" }, - opts = { - auto_install = true, - ignore_install = { 'latex' }, - highlight = { enable = true }, - indent = { enable = true, disable = { "python" } }, - ensure_installed = { - 'javascript', - 'python', - 'cpp', - 'c', - 'lua', - 'php', - 'html', - 'css', - }, - }, - config = function(_, opts) - require("nvim-treesitter.configs").setup(opts) - end, - } + { + 'nvim-treesitter/nvim-treesitter', + build = ':TSUpdate', + event = { + 'BufReadPost', + 'BufNewFile' + }, + opts = { + auto_install = true, + ignore_install = { 'latex' }, + highlight = { enable = true }, + indent = { enable = true, disable = { 'python' } }, + ensure_installed = { + 'javascript', + 'python', + 'cpp', + 'c', + 'lua', + 'php', + 'html', + 'css', + }, + }, + config = function(_, opts) + require('nvim-treesitter.configs').setup(opts) + end, + } } -- cgit v1.2.3