https://github.com/mks-h/treesitter-autoinstall.nvim
A Neovim plugin around "nvim-treesitter" that provides auto-installation of parsers.
https://github.com/mks-h/treesitter-autoinstall.nvim
neovim nvim-treesitter
Last synced: 2 months ago
JSON representation
A Neovim plugin around "nvim-treesitter" that provides auto-installation of parsers.
- Host: GitHub
- URL: https://github.com/mks-h/treesitter-autoinstall.nvim
- Owner: mks-h
- License: apache-2.0
- Created: 2025-09-21T21:59:58.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2026-02-07T05:55:41.000Z (6 months ago)
- Last Synced: 2026-02-07T15:43:16.936Z (6 months ago)
- Topics: neovim, nvim-treesitter
- Language: Lua
- Homepage:
- Size: 9.77 KB
- Stars: 9
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# treesitter-autoinstall
This is a very simple Neovim plugin that provides automatic installation for
the new rewrite of [nvim-treesitter][nvim-treesitter], since it no longer has
this option.
[nvim-treesitter]: https://github.com/nvim-treesitter/nvim-treesitter/tree/main
## Usage
You need to call the setup function in order for the plugin to work.
```lua
require("treesitter-autoinstall").setup()
```
### Configuration
The following is the implicit plugin configuration. You can specify just the
options you need. Notice that they are different from the original
`nvim-treesitter` options — both in name *and* behaviour.
```lua
require("treesitter-autoinstall").setup({
-- A list of *treesitter languages* to ignore.
ignore = {},
-- Auto-enable highlighting for installed languages.
highlight = true,
-- A list of *treesitter languages* to also enable regex highlighting for
regex = {},
})
```
## License
Copyright 2025 Maksym Hazevych
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.