mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-08 08:24:37 +02:00
feat(treesitter): don't use auto_install. Use ensure_installed
instead
This commit is contained in:
parent
09c27b5e4d
commit
2309580180
2 changed files with 19 additions and 3 deletions
|
@ -6,7 +6,23 @@ return {
|
|||
config = function()
|
||||
require("nvim-treesitter.configs").setup({
|
||||
sync_install = false,
|
||||
auto_install = true,
|
||||
ensure_installed = {
|
||||
"bash",
|
||||
"help",
|
||||
"html",
|
||||
"javascript",
|
||||
"json",
|
||||
"lua",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
"python",
|
||||
"query",
|
||||
"regex",
|
||||
"tsx",
|
||||
"typescript",
|
||||
"vim",
|
||||
"yaml",
|
||||
},
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
context_commentstring = { enable = true, enable_autocmd = false },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue