Skip to content

Commit

Permalink
docs(README): clarify highlight setup for nvim-treesitter
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Jun 11, 2024
1 parent b9df78b commit 2bb1422
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,16 @@ For the time being you also need `nvim-treesitter` installed, but the plugin is
To counter this, you also need to run the following:
- `:Rocks install rocks-git.nvim`
- `:Rocks install nvim-treesitter/nvim-treesitter`
- Just like the `neorg.lua` file, create a `lua/plugins/treesitter.lua` file and place the following content inside:
```lua
require("nvim-treesitter.configs").setup({
highlight = {
enable = true,
},
})
```

The last two steps will eventually not be required to run Neorg.
The last three steps will eventually not be required to run Neorg.

</details>

Expand Down

0 comments on commit 2bb1422

Please sign in to comment.