fix: detect duplicate filenames in buffer

This commit is contained in:
Steven Arcangeli 2023-01-11 23:54:51 -08:00
parent 9a03af7cb7
commit bcb99ae95a
3 changed files with 55 additions and 3 deletions

View file

@ -3,6 +3,8 @@ local M = {}
---@type boolean
M.is_windows = vim.loop.os_uname().version:match("Windows")
M.is_mac = vim.loop.os_uname().sysname == "Darwin"
---@type string
M.sep = M.is_windows and "\\" or "/"