···4646}
4747```
48484949-<details>
5050-5151-<summary>If you get a <code>no parser for 'yaml' language</code> error message</summary>
5252-5353-This means that you need to install a parser such as [`tree-sitter-yaml`](https://github.com/ikatyang/tree-sitter-yaml).
5454-5555-Then you need to enable it in your nvim config. Here is an example.
5656-5757-```lua
5858-{
5959- "nvim-treesitter/nvim-treesitter",
6060- build = ":TSUpdate",
6161- config = function()
6262- require("nvim-treesitter.configs").setup({
6363- ensure_installed = { "yaml" },
6464- },
6565- })
6666- end,
6767-}
6868-</details>
69497050### With [`packer.nvim`](https://github.com/wbthomason/packer.nvim):
7151···8767Plug 'nvim-treesitter/nvim-treesitter'
8868Plug 'cuducos/yaml.nvim'
8969```
7070+7171+### No YAML parser?
7272+7373+If you get a <code>no parser for 'yaml' language</code> error message, this means that you need to install a parser such as [`tree-sitter-yaml`](https://github.com/ikatyang/tree-sitter-yaml). If that is the case, you need to enable it in your config.
7474+7575+<details>
7676+7777+<summary>Here is an example, using <code>lazy.nvim</code></summary>
7878+7979+```lua
8080+{
8181+ "nvim-treesitter/nvim-treesitter",
8282+ build = ":TSUpdate",
8383+ config = function()
8484+ require("nvim-treesitter.configs").setup({
8585+ ensure_installed = { "yaml" },
8686+ },
8787+ })
8888+ end,
8989+}
9090+```
9191+9292+</details>
90939194## Configuration
9295