-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ef30c9
commit 99d18c5
Showing
2 changed files
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
return { | ||
"nvim-treesitter/nvim-treesitter", | ||
build = ":TSUpdate", | ||
config = function() | ||
require"nvim-treesitter.configs".setup { | ||
ensured_installed = "all", | ||
sync_install = false, | ||
auto_install = true, | ||
highlight = { | ||
enable = true -- false will disable the whole extension | ||
}, | ||
rainbow = { | ||
enable = true, | ||
extended_mode = true, -- Also highlight non-bracket delimiters like html tags, boolean or table: lang -> boolean | ||
max_file_lines = nil -- Do not enable for files with more than n lines, int | ||
} | ||
} | ||
end | ||
"nvim-treesitter/nvim-treesitter", | ||
build = ":TSUpdate", | ||
config = function() | ||
require("nvim-treesitter.configs").setup({ | ||
ensured_installed = "all", | ||
sync_install = true, | ||
auto_install = true, | ||
highlight = { | ||
enable = true, -- false will disable the whole extension | ||
}, | ||
rainbow = { | ||
enable = true, | ||
extended_mode = true, -- Also highlight non-bracket delimiters like html tags, boolean or table: lang -> boolean | ||
max_file_lines = nil, -- Do not enable for files with more than n lines, int | ||
}, | ||
}) | ||
end, | ||
} |