Hi,
When opening a kubernetes manifest, immediately it's being recognized, the language server kicks in, and the schema is loaded:
However, when I'm opening a "nofile", when running this command for example:
kubectl get deployment hello-world -oyaml | vim
The filetype is detected, however the language server doesn't start.
:CocCommand document.echoFiletype
yaml
I tried :CocRestart, I tried setting the filetype again setf yaml
Nothing helped.
It works when I open a file with .yaml extension, or a plain text file and then I set the filetype,
It also works when I open a blank file, paste yaml content and set the filetype.
For some weird reason, if I open vim from pipe, the languageserver doesn't start.
Ideas?
Hi, When opening a kubernetes manifest, immediately it's being recognized, the language server kicks in, and the schema is loaded:
However, when I'm opening a "nofile", when running this command for example:
The filetype is detected, however the language server doesn't start.
I tried
:CocRestart
, I tried setting the filetype againsetf yaml
Nothing helped. It works when I open a file with.yaml
extension, or a plain text file and then I set the filetype, It also works when I open a blank file, paste yaml content and set the filetype. For some weird reason, if I open vim from pipe, the languageserver doesn't start. Ideas?