Skip to content

Error when opening file newer than swap file as read-only #166

@ferguscollins

Description

@ferguscollins

Description

After updating to the latest version to test templates I did the following:

  1. Edit a wiki page with a swap file outside of vim
  2. Attempt to open the wiki page in vim and get a message noting the file is newer than the swap file
  3. Open as read-only
  4. Results in the following error message:
Error detected while processing function wiki#link#follow[13]..function wiki#link#follow[6]..1:

E325: ATTENTION

This isn't a critical issue as the error seems to be ignorable.

vimrc

I don't have any other navigation plugins installed.

set nocompatible

filetype plugin indent on
syntax enable

let g:wiki_root=$HOME . '/Documents/notes'

let g:wiki_global_load=0
let g:wiki_filetypes=['rmd', 'markdown', 'pandoc', 'wiki']
let g:wiki_link_extension='.rmd'
let g:wiki_link_target_type='md'
let g:wiki_write_on_nav=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions