Skip to content

Fix extra inverted comma on autocomplete with autobrackets

Waqar Ahmed requested to merge work/lspdoublecomma into master

If you have auto brackets on with the chars "" in it, consider the following case:

#include "someth"

when you autocomplete it, it becomes:

#include "something.h""

which is annoying. This change fixes this by removing the comma from incoming match if both the existing word and matching completion have an inverted comma at the end.

Edited by Waqar Ahmed

Merge request reports