Customized fork of github.com/rxi/lite

Changed autoreload to strip carriage-returns on reload

rxi 6b39fb6d 7aabfebf

Changed files
+1 -1
data
plugins
+1 -1
data/plugins/autoreload.lua
··· 18 18 19 19 local sel = { doc:get_selection() } 20 20 doc:remove(1, 1, math.huge, math.huge) 21 - doc:insert(1, 1, text:gsub("\n$", "")) 21 + doc:insert(1, 1, text:gsub("\r", ""):gsub("\n$", "")) 22 22 doc:set_selection(table.unpack(sel)) 23 23 24 24 update_time(doc)