micro
micro copied to clipboard
Language selection at runtime?
Description of the problem or steps to reproduce
I get yaml output from a command.. I would like to view it in micro.
helm show values argo/argo-cd | micro
But Micro does not recognize it as yaml and hence no syntax highlighting is provided.
In many modern editors (like notepad++ / vscode), we are allowed to set language for the open buffer and thereby get help of syntax highlighting.
Is this possible in Micro?
By they way.. recently discovered this and really liking the editor. Great work.
Specifications
Commit hash: b9763856 OS: Ubuntu Terminal: Windows Terminal (WSL)
You can set the filetype option: helm show values argo/argo-cd | micro -filetype yaml.