diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2021-08-23 09:23:35 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2021-08-23 09:23:35 +0200 |
| commit | 43a2c6509b04d236c6e43ba655baf4b0ecfe301c (patch) | |
| tree | 3f9733536dc8b8876a3edb6dfb705f637f25ccf6 | |
| parent | 5f8daea1cb65430f7c47adde4ae88946efe45c0f (diff) | |
| download | nvim-conf-43a2c6509b04d236c6e43ba655baf4b0ecfe301c.tar.gz nvim-conf-43a2c6509b04d236c6e43ba655baf4b0ecfe301c.zip | |
add more expand for twilight
| -rw-r--r-- | lua/plugins.lua | 2 | ||||
| -rw-r--r-- | plugin/packer_compiled.lua | 4 |
2 files changed, 4 insertions, 2 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 diff --git a/plugin/packer_compiled.lua b/plugin/packer_compiled.lua index 06fbfce..098103f 100644 --- a/plugin/packer_compiled.lua +++ b/plugin/packer_compiled.lua @@ -159,7 +159,7 @@ _G.packer_plugins = { path = "/home/alpha/.local/share/nvim/site/pack/packer/start/telescope.nvim" }, ["twilight.nvim"] = { - config = { "\27LJ\1\2�\1\0\0\3\0\6\0\t4\0\0\0%\1\1\0>\0\2\0027\0\2\0003\1\3\0003\2\4\0:\2\5\1>\0\2\1G\0\1\0\vexpand\1\6\0\0\rfunction\23method_declaration\vmethod\ntable\17if_statement\1\0\1\fcontext\3\3\nsetup\rtwilight\frequire\0" }, + config = { "\27LJ\1\2¶\1\0\0\3\0\6\0\t4\0\0\0%\1\1\0>\0\2\0027\0\2\0003\1\3\0003\2\4\0:\2\5\1>\0\2\1G\0\1\0\vexpand\1\b\0\0\25function_declaration\rfunction\23method_declaration\vmethod\ntable\17if_statement\21type_declaration\1\0\1\fcontext\3\3\nsetup\rtwilight\frequire\0" }, loaded = true, path = "/home/alpha/.local/share/nvim/site/pack/packer/start/twilight.nvim" }, @@ -266,7 +266,7 @@ _G.packer_plugins = { time([[Defining packer_plugins]], false) -- Config for: twilight.nvim time([[Config for twilight.nvim]], true) -try_loadstring("\27LJ\1\2�\1\0\0\3\0\6\0\t4\0\0\0%\1\1\0>\0\2\0027\0\2\0003\1\3\0003\2\4\0:\2\5\1>\0\2\1G\0\1\0\vexpand\1\6\0\0\rfunction\23method_declaration\vmethod\ntable\17if_statement\1\0\1\fcontext\3\3\nsetup\rtwilight\frequire\0", "config", "twilight.nvim") +try_loadstring("\27LJ\1\2¶\1\0\0\3\0\6\0\t4\0\0\0%\1\1\0>\0\2\0027\0\2\0003\1\3\0003\2\4\0:\2\5\1>\0\2\1G\0\1\0\vexpand\1\b\0\0\25function_declaration\rfunction\23method_declaration\vmethod\ntable\17if_statement\21type_declaration\1\0\1\fcontext\3\3\nsetup\rtwilight\frequire\0", "config", "twilight.nvim") time([[Config for twilight.nvim]], false) -- Config for: nvim-compe time([[Config for nvim-compe]], true) |