Commit abd7aa3
committed
(mini.extra) Update
Details:
- The main reason for adding this is to account for some LSP servers
which don't properly support "workspace/symbol" request with empty
string as query. It should return all symbols, but some servers (like
`pyright`) return nothing.
The new `local_opts.symbol_query` can be used together with
`vim.fn.input('Symbol: ')` to get symbol interactively from user
prior to sending the request and showing results in the picker.pickers.lsp to have symbol_query local option.1 parent f2b89ef commit abd7aa3
File tree
4 files changed
+20
-3
lines changed- doc
- lua/mini
- tests
- dir-extra/mocks
4 files changed
+20
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
| 612 | + | |
| 613 | + | |
612 | 614 | | |
613 | 615 | | |
614 | 616 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1080 | 1080 | | |
1081 | 1081 | | |
1082 | 1082 | | |
| 1083 | + | |
| 1084 | + | |
1083 | 1085 | | |
1084 | 1086 | | |
1085 | 1087 | | |
1086 | 1088 | | |
1087 | 1089 | | |
1088 | 1090 | | |
1089 | | - | |
| 1091 | + | |
1090 | 1092 | | |
1091 | 1093 | | |
1092 | 1094 | | |
| |||
1096 | 1098 | | |
1097 | 1099 | | |
1098 | 1100 | | |
1099 | | - | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
1100 | 1105 | | |
1101 | 1106 | | |
1102 | 1107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2445 | 2445 | | |
2446 | 2446 | | |
2447 | 2447 | | |
| 2448 | + | |
2448 | 2449 | | |
2449 | 2450 | | |
2450 | 2451 | | |
| |||
2518 | 2519 | | |
2519 | 2520 | | |
2520 | 2521 | | |
| 2522 | + | |
| 2523 | + | |
| 2524 | + | |
| 2525 | + | |
| 2526 | + | |
| 2527 | + | |
| 2528 | + | |
| 2529 | + | |
2521 | 2530 | | |
2522 | 2531 | | |
2523 | 2532 | | |
| |||
0 commit comments