Closed Antonio-Bennett closed 3 years ago
I kinda have the same problem with tailwindcss but yesterday it was working perfectly.
very weird indeed.
@xMicky24GIT what does :set filetype
say? Just vue
? Your config seems fine and it should work with vue.
@Antonio-Bennett I also have no idea what is happening, but I don't think it's related to lspinstall.
very weird indeed. @xMicky24GIT what does
:set filetype
say? Justvue
? Your config seems fine and it should work with vue.
Yes, it just says "filetype=vue". I don't understand what happened, the other day it was working perfectly and I was so happy to not have to use VSCode hahaha
Sorry, I don't know what's wrong then :/
What I would try:
Install latest neovim nightly, update your plugins, reinstall tailwindcss lang server.
Also open the project in VSCode and confirm that it's working there.
I did all of that and it’s working fine on vs code. That’s strange. I don’t know what else to try
Michele Viotto On 26 Apr 2021, 19:25 +0200, Karim Abou Zeid @.***>, wrote:
Sorry, I don't know what's wrong then :/ What I would try: Install latest neovim nightly, update your plugins, reinstall tailwindcss lang server. Also open the project in VSCode and confirm that it's working there. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Is the /frontend directory also where your tailwind.config.js is?
Yes and I open the Vue file from /frontend, so I do “nvim src/App.vue”. The root dir found when I do :LspInfo is right, although for the html it says the directory before /frontend
Michele Viotto On 26 Apr 2021, 19:28 +0200, Karim Abou Zeid @.***>, wrote:
Is the /frontend directory also where your tailwind.config.js is? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Yep that's fine. Root dir is detected as necessary for language servers. Doesn't matter from where you open the file. Eg for html I think it's looking for the root git directory.
Yes it’s probably looking for the .git directory. At this point I hope tailwindcss will start to work again without doing nothing like it did with stop working and it’s the only one that doesn’t work
Michele Viotto On 26 Apr 2021, 20:42 +0200, Karim Abou Zeid @.***>, wrote:
Yep that's fine. Root dir is detected as necessary for language servers. Doesn't matter from where you open the file. Eg for html I think it's looking for the root git directory. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
I don't know I hate my life, now it's working. I don't understand
Edit: it just seem to not be working right on App.vue (and just noticed that no lsp completion work on that file)
Interesting. Let me know when you find out some day why it's not working in App.vue
Hey I don't know if anyone would know why for the Rust Lsp if I open a file in another buffer the LSP even though it says attached doesn't provide any of it's functions such as autocompletion. In the video you'll see me
https://user-images.githubusercontent.com/31296212/115316080-a43a5100-a146-11eb-86e6-bbdbb9b2f096.mp4
I honestly have no idea what's happening...I tried reloading the buffer and that didn't work either. Any ideas??