From 43a2c6509b04d236c6e43ba655baf4b0ecfe301c Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Mon, 23 Aug 2021 09:23:35 +0200 Subject: add more expand for twilight --- lua/plugins.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index 3c635df..1ba0640 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -27,11 +27,13 @@ return require('packer').startup(function(use) -- or leave it empty to use the default settings -- refer to the configuration section below expand = { -- for treesitter, we we always try to expand to the top-most ancestor with these types + "function_declaration", "function", "method_declaration", "method", "table", "if_statement", + "type_declaration", }, } end -- cgit v1.2.3