From 7a25174c9a88112e80e02ad9d6ff2ee5790e5c55 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Mon, 5 Sep 2022 12:14:16 +0200 Subject: [PATCH] feat(nvim): activate context plugin on more --- nvim/after/plugin/context.lua | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/nvim/after/plugin/context.lua b/nvim/after/plugin/context.lua index bab44ee..039c97f 100644 --- a/nvim/after/plugin/context.lua +++ b/nvim/after/plugin/context.lua @@ -4,4 +4,17 @@ if not status_ok then return end -context.setup() +context.setup({ + patterns = { + default = { + "class", + "function", + "method", + "for", + "while", + "if", + "switch", + "case", + }, + }, +})