We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce5a5fa commit c1d33cfCopy full SHA for c1d33cf
1 file changed
lua/fzf-lua/cmd.lua
@@ -41,7 +41,7 @@ function M.options_md()
41
if M._options_md ~= nil then return M._options_md end
42
M._options_md = {}
43
local filepath = path.join({ vim.g.fzf_lua_root, "OPTIONS.md" })
44
- local lines = vim.split(utils.read_file(filepath), "\n")
+ local lines = utils.strsplit(utils.read_file(filepath), "\r?\n")
45
local section
46
for _, l in ipairs(lines or {}) do
47
(function()
0 commit comments