aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2021-03-06 11:03:40 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2021-03-06 11:03:40 +0100
commitbdd5d68aaa121f98bf2320f96a9bb3ad340a2ad3 (patch)
tree8565713dd674dcf0fee4170eee5d95d6226c444d /Makefile
parentd151350744b438fdf03d265dea84bb458795abe7 (diff)
downloadvis-lspc-bdd5d68aaa121f98bf2320f96a9bb3ad340a2ad3.tar.gz
vis-lspc-bdd5d68aaa121f98bf2320f96a9bb3ad340a2ad3.zip
fix insertText completion when issued with the cursor on a newline
New algorithm: 1. check if the cursor is on a word which is a prefix of the completion 2. if not try to decrement the position because it is common than the cursor is behind the token to complete "fooba┃" 3. if found a match in 1. or 2. delete it 4. insert the new text at the current pos or the start of the deleted token Hopefully this is good enough to work in all possible corner cases
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions