diff options
author | Mohamad Alamin Yassin <ameen.yaseen.98@gmail.com> | 2024-01-08 20:17:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-08 12:17:01 -0500 |
commit | c11afa2f90a9e5b995ef51c8f4b37dfcdc1a7390 (patch) | |
tree | 3c0568bcbc85b4c545d28a7b6f47d8d45418b7f4 /init.lua | |
parent | c4055a2212c6a1515d07edae5a9de435543102d2 (diff) |
Add Missing Fields to Treesitter Config to Resolve Warnings (#582)
This commit introduces three additional fields - `sync_install`, `ignore_install`, and `modules` - to the Treesitter configuration. This update is aimed at resolving warnings that were previously displayed, potentially causing confusion or frustration for new users of Neovim. By explicitly defining these fields, the configuration aligns better with the latest `nvim-treesitter` requirements.
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -427,7 +427,14 @@ vim.defer_fn(function() -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) auto_install = false, - + -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) + auto_install = false, + -- Install languages synchronously (only applied to `ensure_installed`) + sync_install = false, + -- List of parsers to ignore installing + ignore_install = {}, + -- You can specify additional Treesitter modules here: -- For example: -- playground = {--enable = true,-- }, + modules = {}, highlight = { enable = true }, indent = { enable = true }, incremental_selection = { |