Comments (5)
Found the issue, it seems that blade
as a language causes this, as for some reason, the LSP fails with it now:
[WARN][2023-12-13 07:51:50] ...lsp/handlers.lua:537 "textDocument/didOpen ignored. file:///Users/.../resources/views/pages/links/index.blade.php has unsupported language ID blade."
The fix is to just remove blade as an additional language, so nvim sees it as php
. I have no idea why. It might be due to the upcoming release of blade support, thanks to treesitter-blade.
I'll see if removing it has any consequences I am not aware of and push the new version asap. Thanks for noticing!
from lazyvim.
Hi there, I tried to just use nvim-lspconfig to get it to work, but it didn't. We now have two hacky autocommands that trick intelephense into thinking it's in php, then switch back to blade. This way everything works.
If anyone knows if this can be done cleaner, please comment / push a pr!
Anyways, should work now @MarcosIgnacioo
from lazyvim.
THANK UUUU LOV U BESTIEEEEEE ALSO SO DAM GOOD CONFIGMANNNNNN
from lazyvim.
Sometimes, when i use s
after starting nvim, this happens for me, too.
If that is not the case, you could try adding blade
to your nvim-lpsconfig:
See here for the config spec and here for the file that needs to be adjusted.
Let me know if that works for you / open a pr if it does :)
from lazyvim.
Just tried and realised it is broken for me, too. My suggested fix did not help yet, I'll look into it.
from lazyvim.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lazyvim.