Module language

Module language 

Source
Expand description

File extension to language ID mappings

Maps file extensions to LSP language identifiers as defined in the LSP specification.

Functionsยง

is_supported_extension
Check if a file extension is supported
language_id_for_extension
Get the LSP language ID for a file extension (with leading dot)
language_id_for_path
Get the LSP language ID for a file path
supported_extensions
Get all supported extensions