feat(treesitter): use auto_install to install missing parser

even though it recommend "set to false if you don't have `tree-sitter` CLI installed locally", it actually works perfectly
This commit is contained in:
YuNing Chen 2023-04-19 20:53:26 +08:00 committed by GitHub
parent 0b8c799a7a
commit 5e80c75e41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,7 @@ return {
---@type TSConfig
opts = {
highlight = { enable = true },
auto_install = true,
indent = { enable = true },
context_commentstring = { enable = true, enable_autocmd = false },
ensure_installed = {