nvim-cmp
nvim-cmp copied to clipboard
Feature request: ignore first character `$` for some languages
In PHP, a variable is defined with a leading $ (e.g. $foo = 'bar').
In the PHPStorm IDE, it will provide autocomplete for this variable without typing the leading $.
This is very useful.
How can this be achieved with nvim-cmp?
$foo = 'foo';
$bar = 'bar';
f // expect this to show `$foo` autocomplete variable suggestion
Thanks
@codepuncher did you by any chance find a solution for this?
Nope sorry!