Sha256: 9b28bcafaa4ac501a41f6bf804b7596060178c0469158ef9ab28a63e2ef34958

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 Bytes

Contents

module VimRecovery

  # Strictly speaking, ".saa" will never be a swapfile because the loop
  # gives up at that name, but including it saves us a separate pattern.
  # https://github.com/vim/vim/blob/95f096030ed1a8afea028f2ea295d6f6a70f466f/src/memline.c#L4566
  SWAPFILES = ['*.sw[a-p]', '*.s[a-v][a-z]'].freeze
end

require 'vim_recovery/swapfile'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vim-recovery-0.0.1 lib/vim_recovery.rb