Skip to content

Commit 1d79fbc

Browse files
committed
fix is_windows()
1 parent 0f6c9ee commit 1d79fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/iron/fts/common.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ common.bracketed_paste_python = function(lines, extras)
167167
-- indentation errors in some cases. Fortunately, the new
168168
-- REPL provides a Paste Mode, which disables automatic
169169
-- indentation and allows code to run smoothly.
170-
if is_new_repl and not (is_windows and result[1] and result[1] == "\r") then
170+
if is_new_repl and not (is_windows() and result[1] and result[1] == "\r") then
171171
table.insert(result, 1, paste_mode_code)
172172
end
173173

0 commit comments

Comments
 (0)