mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -04:00
docs: fix syntax error in README example
This commit is contained in:
parent
47b45ff883
commit
2bd13c9d41
2 changed files with 2 additions and 2 deletions
|
|
@ -82,7 +82,7 @@ so you'll need to activate them by putting this in your `init.vim` file:
|
||||||
```lua
|
```lua
|
||||||
lua <<EOF
|
lua <<EOF
|
||||||
require'nvim-treesitter.configs'.setup {
|
require'nvim-treesitter.configs'.setup {
|
||||||
ensure_installed = "all" -- one of "all", "language", or a list of languages
|
ensure_installed = "all", -- one of "all", "language", or a list of languages
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true, -- false will disable the whole extension
|
enable = true, -- false will disable the whole extension
|
||||||
disable = { "c", "rust" }, -- list of language that will be disabled
|
disable = { "c", "rust" }, -- list of language that will be disabled
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ To enable supported features, put this in your `init.vim` file:
|
||||||
>
|
>
|
||||||
lua <<EOF
|
lua <<EOF
|
||||||
require'nvim-treesitter.configs'.setup {
|
require'nvim-treesitter.configs'.setup {
|
||||||
ensure_installed = "all" -- one of "all", "language", or a list of languages
|
ensure_installed = "all", -- one of "all", "language", or a list of languages
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true, -- false will disable the whole extension
|
enable = true, -- false will disable the whole extension
|
||||||
disable = { "c", "rust" }, -- list of language that will be disabled
|
disable = { "c", "rust" }, -- list of language that will be disabled
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue