Skip to content

Commit

Permalink
fix: use correct Lua syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
yeskunall committed Feb 2, 2025
1 parent 494ffc0 commit 36e9ae6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/3.editor-integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ Vento syntax highlighting is available for Neovim through

To use it, add the "vento" filetype

```js
```lua
vim.filetype.add({
extension: {
vto: "vento",
extension = {
vto = "vento",
},
});
```
Expand All @@ -34,7 +34,7 @@ And install the "vento" parser with `TSInstall`, or add it to the
It's also recommended to install "javascript" and "html" parsers to get better
syntax highlighting inside vento files.

```js
```lua
require("nvim-treesitter.configs").setup({
ensure_installed = { "vento", "html", "javascript", "..." },
})
Expand Down

0 comments on commit 36e9ae6

Please sign in to comment.