Skip to content

corfu for variables not working in php-mode with serenata ls #3817

Closed
@xendk

Description

@xendk

Thank you for the bug report

  • I am using the latest version of lsp-mode related packages.
  • I checked FAQ and Troubleshooting sections
  • You may also try reproduce the issue using clean environment using the following command: M-x lsp-start-plain

Bug description

When using corfu as completion frontend rather than company, assuming a defined $varname, completing $var doesn't work. Typing the var prefix without the $ does work, and adds the missing $.

@minad says it must be a lsp-mode issue.

Steps to reproduce

Haven't been able to make one yet. lsp-start-plain didn't make me wiser as it only have company (which works).

Expected behavior

That $varname can be completed by typing $var rather than var.

Which Language Server did you use?

PHP, serenata

OS

Linux

Error callstack

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions