diff options
| author | Jefferson González <jgmdev@gmail.com> | 2024-06-28 07:07:41 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-28 07:07:41 -0400 |
| commit | 46c7c9d130e89579503d1c74e19407e6d4e8b95d (patch) | |
| tree | ae71f60d4e04a134310b3fe33e93c8999eb8b276 /data/core/utf8string.lua | |
| parent | c60ea0aed2f8b216aeeb41f329af6818ad871421 (diff) | |
| download | pragtical-46c7c9d130e89579503d1c74e19407e6d4e8b95d.tar.gz pragtical-46c7c9d130e89579503d1c74e19407e6d4e8b95d.zip | |
autocomplete: strip punctuations from partials (#117)
When triggered manually and first character is a punctuation,
it causes none of the items to match if they don't also contain the
punctiation. We remove the punctuations to ensure results with plugins
like lsp will match even if the don't contain the starting punctuation
symbol.
This solves issues in languages like C/C++ where # causes lsp to return
a list of snippets as follows:
* if
* ifndef
* include
Without this change non of the items would match.
Diffstat (limited to 'data/core/utf8string.lua')
0 files changed, 0 insertions, 0 deletions
