Skip to content
Snippets Groups Projects
Commit c45674b1 authored by Thomas Kluyver's avatar Thomas Kluyver Committed by Marijn Haverbeke
Browse files

[python mode] Add f to delimiter stripping for Python mode

So f-strings get terminated correctly
parent f87597dd
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,7 @@
}
function tokenStringFactory(delimiter) {
while ("rub".indexOf(delimiter.charAt(0).toLowerCase()) >= 0)
while ("rubf".indexOf(delimiter.charAt(0).toLowerCase()) >= 0)
delimiter = delimiter.substr(1);
var singleline = delimiter.length == 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment