aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua2
1 files changed, 2 insertions, 0 deletions
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