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 <igor@milhit.ch>
iGor milhit 2024-10-03 07:38:41 +02:00
parent fd295f92e4
commit a50b7b4b55
Signed by: igor
GPG Key ID: 692D97C3D0228A99
1 changed files with 6 additions and 3 deletions

View File

@ -45,7 +45,9 @@ return {
-- Enable color syntax -- Enable color syntax
highlight = { highlight = {
enable = true, enable = true,
disable = { "markdown" }, disable = {
"markdown"
},
}, },
-- Enable better indentation management -- Enable better indentation management
indent = { enable = true }, indent = { enable = true },
@ -64,6 +66,9 @@ return {
"yaml", "yaml",
}, },
-- Empty option, to avoid warning
modules = {},
-- List of parsers to ignore installing -- List of parsers to ignore installing
ignore_install = { ignore_install = {
"markdown", "markdown",
@ -133,5 +138,3 @@ return {
}) })
end, end,
} }