We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbd484d commit b1922c6Copy full SHA for b1922c6
lua/orgmode/utils/init.lua
@@ -32,7 +32,7 @@ function utils.readfile(file, opts)
32
if opts.raw then
33
result = data
34
else
35
- local lines = vim.split(data, '\n')
+ local lines = vim.split(data, '[\r\n]')
36
if lines[#lines] == '' then
37
table.remove(lines, #lines)
38
end
0 commit comments