Skip to content

How to check the current language? #5847

Answered by the-mikedavis
sgon00 asked this question in Q&A
Discussion options

You must be logged in to vote

You can use :set statusline.center ["file-type"] to temporarily add the file-type statusline element which shows the current language.

I think it would be fine to add that behavior to :set-language/:lang to show the current language if no arguments are provided.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sgon00
Comment options

Answer selected by sgon00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants