File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
tests/test-sources/plugins/telescope Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,9 @@ helpers.neovim-plugin.mkNeovimPlugin config {
112112 require('telescope').load_extension(extension)
113113 end
114114 '' ;
115+
116+ # planets picker requires files in data/memes/planets
117+ performance . combinePlugins . pathsToLink = [ "/data/memes/planets" ] ;
115118 } ;
116119
117120 settingsOptions = {
Original file line number Diff line number Diff line change 1717 highlightTheme = "gruvbox" ;
1818 } ;
1919 } ;
20+
21+ combine-plugins . module =
22+ { config , ... } :
23+ {
24+ plugins . telescope . enable = true ;
25+
26+ performance . combinePlugins . enable = true ;
27+
28+ extraConfigLuaPost = # lua
29+ ''
30+ -- I don't know how run telescope properly in test environment,
31+ -- so just check that files exist
32+ assert(vim.api.nvim_get_runtime_file("data/memes/planets/earth", false)[1], "telescope planets aren't found in runtime")
33+ '' ;
34+ } ;
2035}
You can’t perform that action at this time.
0 commit comments