vscode-intelephense icon indicating copy to clipboard operation
vscode-intelephense copied to clipboard

Neovim Filetype set to blade throws unsupported error in the LSP

Open TreyBastian opened this issue 7 months ago • 4 comments

Describe the bug Neovim 0.10.0 defaults *.blade.php files to filetype blade. This is great as it lets us use tree sitter grammars specifically built for that filetype and makes it easier to assign formatters etc.

The problem is even if I set intelephense to attach to blade files I get the error "unsupported language ID blade".

To Reproduce Open a blade.php file in neovim 0.10.0

Expected behavior Blade syntax with livewire / volt is very much a mix of PHP and html. It would be nice to get proper autocomplete in these components, even if the blade directives still aren't supported.

Screenshots Screenshot 2024-07-11 at 21 35 51 Screenshot 2024-07-11 at 21 31 35

Platform and version MacOS Intelephense 1.11.5 Neovim 0.10.0

TreyBastian avatar Jul 11 '24 20:07 TreyBastian