Skip to content

Commit

Permalink
excape char
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Fabisz authored and Sebastian Fabisz committed Jan 5, 2024
1 parent 7764014 commit c6ec001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/wttr/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ wttr.text = "Pending"

local function get_weather(format, custom_format)
local result = wttr_src.get(location, format, custom_format, function(data)
wttr.text = string.gsub(data, "%", "")
wttr.text = string.gsub(data, "\\%", "")
print("text: ", wttr.text)
vim.schedule(function()
vim.api.nvim_command("redrawstatus")
Expand Down

0 comments on commit c6ec001

Please sign in to comment.