Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/luasnip.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*luasnip.txt* For NeoVim 0.7-0.11 Last change: 2025 September 29
*luasnip.txt* For NeoVim 0.7-0.11 Last change: 2025 October 05

==============================================================================
Table of Contents *luasnip-table-of-contents*
Expand Down
2 changes: 1 addition & 1 deletion lua/luasnip/util/str.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function M.unescaped_pairs(s, left, right)
end

function M.aupatescape(s)
if vim.fn.has("win32") or vim.fn.has("win64") then
if vim.fn.has("win32") == 1 or vim.fn.has("win64") == 1 then
-- windows: replace \ with / for au-pattern.
s, _ = s:gsub("\\", "/")
end
Expand Down