View Source GenLSP.TypeAlias.DocumentSelector (gen_lsp v0.10.0)
A document selector is the combination of one or many document filters.
@sample let sel:DocumentSelector = [{ language: 'typescript' }, { language: 'json', pattern: '**∕tsconfig.json' }]
;
The use of a string as a document filter is deprecated @since 3.16.0.
Link to this section Summary
Link to this section Types
@type t() :: [GenLSP.TypeAlias.DocumentFilter.t()]