mirror of
https://github.com/desktop/desktop
synced 2024-10-03 23:03:52 +00:00
Merge pull request #18141 from pLeBlanc93/pyi-syntax-highlight
add `pyi` to syntax highlighting
This commit is contained in:
commit
1ec6086e4e
|
@ -213,6 +213,7 @@ const extensionModes: ReadonlyArray<IModeDefinition> = [
|
||||||
install: () => import('codemirror/mode/python/python'),
|
install: () => import('codemirror/mode/python/python'),
|
||||||
mappings: {
|
mappings: {
|
||||||
'.py': 'text/x-python',
|
'.py': 'text/x-python',
|
||||||
|
'.pyi': 'text/x-python',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue