Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Eduardo Cuducos <[email protected]>
  • Loading branch information
tyrelcameron-dgit and cuducos authored Oct 16, 2024
1 parent 0df9c7f commit 49136ea
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ Telescope is **optional**.
```

<details>
<summary>If you get a <code>no parser for 'yaml' language</code> error message when calling <code>:YAMLTelescope</code></summary>

<summary>If you get a <code>no parser for 'yaml' language</code> error message</summary>

This means that you need to install a parser such as [<code>tree-sitter-yaml</code>](https://github.com/ikatyang/tree-sitter-yaml).
This means that you need to install a parser such as [`tree-sitter-yaml`](https://github.com/ikatyang/tree-sitter-yaml).

Then you need to enable it in your nvim config. Here is an example.

Expand All @@ -60,14 +61,10 @@ Then you need to enable it in your nvim config. Here is an example.
config = function()
require("nvim-treesitter.configs").setup({
ensure_installed = { "yaml" },
highlight = {
enable = true,
disable = {},
},
})
end,
}
```
</details>

### With [`packer.nvim`](https://github.com/wbthomason/packer.nvim):
Expand Down

0 comments on commit 49136ea

Please sign in to comment.