From 435613691ec10d762e1b507278bc1f954c63dd7c Mon Sep 17 00:00:00 2001 From: Paul LeBlanc Date: Tue, 6 Feb 2024 07:48:01 -0600 Subject: [PATCH] add `pyi` to syntax highlighting --- app/src/highlighter/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/highlighter/index.ts b/app/src/highlighter/index.ts index b0ede8f260..ee93eaffc6 100644 --- a/app/src/highlighter/index.ts +++ b/app/src/highlighter/index.ts @@ -213,6 +213,7 @@ const extensionModes: ReadonlyArray = [ install: () => import('codemirror/mode/python/python'), mappings: { '.py': 'text/x-python', + '.pyi': 'text/x-python', }, }, {