aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2021-08-23 09:23:35 +0200
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2021-08-23 09:23:35 +0200
commit43a2c6509b04d236c6e43ba655baf4b0ecfe301c (patch)
tree3f9733536dc8b8876a3edb6dfb705f637f25ccf6 /lua/plugins.lua
parent5f8daea1cb65430f7c47adde4ae88946efe45c0f (diff)
downloadnvim-conf-43a2c6509b04d236c6e43ba655baf4b0ecfe301c.tar.gz
nvim-conf-43a2c6509b04d236c6e43ba655baf4b0ecfe301c.zip
add more expand for twilight
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