From bc7fb7fe7fa17be851b4676688e3d738300094bb Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Sat, 13 Nov 2021 15:38:46 -0500 Subject: Just one line --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5833021f..9cb6c4c3 100644 --- a/README.md +++ b/README.md @@ -375,14 +375,10 @@ but if you want to extend a query use the `after/queries/` directory. If you want to completely override a query, you can use `:h set_query()`. For example, to override the `injections` queries from `c` with your own: -```lua --- On your init.lua -require("vim.treesitter.query").set_query("c", "injections", "(comment) @comment") -``` - ```vim -" Or in your init.vim -call v:lua.require("vim.treesitter.query").set_query("c", "injections", "(comment) @comment") +lua <