diff options
| author | aver-d <aver-d@users.noreply.github.com> | 2018-01-25 17:22:00 +0000 |
|---|---|---|
| committer | aver-d <aver-d@users.noreply.github.com> | 2018-01-25 17:49:02 +0000 |
| commit | 29a7cd3ab41a89a3e23f2ff74b79f239ac140fdb (patch) | |
| tree | 79d5ecc96f07aa822939cbc0399f943c8ed86414 /src/command_manager.cc | |
| parent | 46dcd97e19e3cf47abb94e61297dbb8f54f08da9 (diff) | |
Insert complete: Remove path info with one buffer
This change is useful when using `set scope completers word=buffer`,
instead of the default word=all.
If candidates all come from the same buffer, then the path/filename
information is the same and therefore unnecessary. This change
prevents the same path from being repeated, and the buffer's
source code is less obscured.
More generally, there could be an option to disable the path
information entirely in all cases, but for now this change seems
a reasonable solution until any such option exists.
Diffstat (limited to 'src/command_manager.cc')
0 files changed, 0 insertions, 0 deletions
