From cf209d6e527105ecc53e70e23948870bef97b06e Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Thu, 3 Oct 2024 07:38:41 +0200 Subject: [PATCH] plugins: improve slightly the treesitter config - Adds an empty module options to avoid warning. - Indents the disabled language list, in order to add some easily. Co-Authored-by: iGor milhit --- lua/plugins/treesitter.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index b6f8f08..fa606fc 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -45,7 +45,9 @@ return { -- Enable color syntax highlight = { enable = true, - disable = { "markdown" }, + disable = { + "markdown" + }, }, -- Enable better indentation management indent = { enable = true }, @@ -64,6 +66,9 @@ return { "yaml", }, + -- Empty option, to avoid warning + modules = {}, + -- List of parsers to ignore installing ignore_install = { "markdown", @@ -133,5 +138,3 @@ return { }) end, } - -