A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nvim-telescope/telescope.nvim/commit/de80a9837cd1d207981c1f6dbf504436f8bfee13 below:

fix #406 (#407) · nvim-telescope/telescope.nvim@de80a98 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+7

-5

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+7

-5

lines changed Original file line number Diff line number Diff line change

@@ -60,11 +60,13 @@ function! s:telescope_complete(arg,line,pos)

60 60

let ext_type = v:lua.require('telescope._extensions').manager

61 61

let l:ext_type_list = []

62 62 63 -

for val in values(ext_type)

64 -

if len(val) > 1

65 -

call extend(l:ext_type_list,keys(val))

66 -

endif

67 -

endfor

63 +

if !empty(ext_type)

64 +

for val in values(ext_type)

65 +

if type(val) == 3

66 +

call extend(l:ext_type_list,keys(val))

67 +

endif

68 +

endfor

69 +

endif

68 70 69 71

let list = [extend(l:builtin_list,l:extensions_list),l:options_list]

70 72

let l = split(a:line[:a:pos-1], '\%(\%(\%(^\|[^\\]\)\\\)\@<!\s\)\+', 1)

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4