From 36e9ae632ce2d6fc7363ee8d513c73c71c8b2533 Mon Sep 17 00:00:00 2001 From: Kunall Banerjee Date: Sun, 2 Feb 2025 02:16:34 -0500 Subject: [PATCH] fix: use correct Lua syntax --- docs/3.editor-integrations.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/3.editor-integrations.md b/docs/3.editor-integrations.md index e0d2d15..e5a8783 100644 --- a/docs/3.editor-integrations.md +++ b/docs/3.editor-integrations.md @@ -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", }, }); ``` @@ -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", "..." }, })