Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cf05d533a4 |
@@ -64,20 +64,24 @@ jobs:
|
|||||||
opt: [
|
opt: [
|
||||||
# "vint",
|
# "vint",
|
||||||
|
|
||||||
"-n vim_7.3.429",
|
"-n vim_7.4.2367",
|
||||||
"-n vim_8.1.0519",
|
"-n vim_8.2.5172",
|
||||||
|
"-n vim_9.0.2190",
|
||||||
|
"-n vim_9.1.0786",
|
||||||
|
|
||||||
# TODO add me when test works on Vim, 9.0
|
# TODO add me when test works on Vim, 9.0
|
||||||
# -- Currently I experienced some surprised due to defaults
|
# -- Currently I experienced some surprised due to defaults
|
||||||
# -- tinmarino 2023-03-10
|
# -- tinmarino 2023-03-10
|
||||||
# "-n v9.0.1396",
|
# "-n v9.0.1396",
|
||||||
|
|
||||||
"-n nvim_0.3.8",
|
# This build isn't currently working with vim-testbed:
|
||||||
|
# "-n nvim_0.10.2",
|
||||||
|
|
||||||
# Cannot quote as it is expanded from $OPT after quote removal
|
# Cannot quote as it is expanded from $OPT after quote removal
|
||||||
# So I decided to escape the *
|
# So I decided to escape the *
|
||||||
"-n vim_7.4.1099 -f '[a-k]*.vader'",
|
# "-n vim_7.4.1099 -f '[a-k]*.vader'",
|
||||||
"-n vim_7.4.1546 -f 'l*.vader'",
|
# "-n vim_7.4.1546 -f 'l*.vader'",
|
||||||
"-n vim_8.0.0027 -f '[m-z]*.vader'",
|
# "-n vim_8.0.0027 -f '[m-z]*.vader'",
|
||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
# This action is required to fetch the code to test
|
# This action is required to fetch the code to test
|
||||||
|
|||||||
+8
-7
@@ -17,10 +17,11 @@ RUN git checkout de8a976f1eae2c2b680604205c3e8b5c8882493c
|
|||||||
# Build vim and neovim versions we want to test
|
# Build vim and neovim versions we want to test
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
RUN install_vim -tag v7.3.429 -name vim_7.3.429 -build
|
RUN install_vim -tag v7.4.2367 -name vim_7.4.2367 -build
|
||||||
RUN install_vim -tag v7.4.1099 -name vim_7.4.1099 -build
|
RUN install_vim -tag v8.2.5172 -name vim_8.2.5172 -build
|
||||||
RUN install_vim -tag v7.4.1546 -name vim_7.4.1546 -build
|
RUN install_vim -tag v9.0.2190 -name v9.0.2190 -build
|
||||||
RUN install_vim -tag v8.0.0027 -name vim_8.0.0027 -build
|
RUN install_vim -tag v9.1.0786 -name v9.1.0786 -build
|
||||||
RUN install_vim -tag v8.1.0519 -name vim_8.1.0519 -build
|
|
||||||
RUN install_vim -tag v9.0.1396 -name v9.0.1396 -build
|
# TODO: This one doesn't build - vim-testbed seems way out of date:
|
||||||
RUN install_vim -tag neovim:v0.3.8 -name nvim_0.3.8 -build
|
# TODO: tag neovim:v0.10.2, name nvim_0.10.2
|
||||||
|
# (Format as install_vim instances above.)
|
||||||
|
|||||||
@@ -10,8 +10,6 @@
|
|||||||
- [Pathogen](#installation-using-pathogen)
|
- [Pathogen](#installation-using-pathogen)
|
||||||
- [Vim-Plug](#installation-using-vim-plug)
|
- [Vim-Plug](#installation-using-vim-plug)
|
||||||
- [Vundle](#installation-using-vundle)
|
- [Vundle](#installation-using-vundle)
|
||||||
- [Lazy](#installation-using-lazy)
|
|
||||||
|
|
||||||
- [Basic Markup](#basic-markup)
|
- [Basic Markup](#basic-markup)
|
||||||
- [Lists](#lists)
|
- [Lists](#lists)
|
||||||
- [Key Bindings](#key-bindings)
|
- [Key Bindings](#key-bindings)
|
||||||
@@ -144,26 +142,6 @@ vim +PluginInstall +qall
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Installation using [Lazy](https://github.com/folke/lazy.nvim)
|
|
||||||
|
|
||||||
Add repository within `require('lazy').setup` call in your vimrc (or for plugins file ie. /lua/plugins/, do the same within a `return{}` statement).
|
|
||||||
|
|
||||||
If you are unfamiliar with lua, note that the brackets `{`, `}` need a closing comma (`},`) if you are adding this to an existing function like the .setup call.
|
|
||||||
|
|
||||||
``` { 'vimwiki/vimwiki' } ```
|
|
||||||
|
|
||||||
**Example with options (Change syntax to markdown)**:
|
|
||||||
|
|
||||||
``` lua
|
|
||||||
{
|
|
||||||
'vimwiki/vimwiki',
|
|
||||||
init = function()
|
|
||||||
vim.g.vimwiki_path = '~/vimwiki/'
|
|
||||||
vim.g.vimwiki_syntax = 'markdown'
|
|
||||||
vim.g.vimwiki_ext = 'md'
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
```
|
|
||||||
#### Manual Install
|
#### Manual Install
|
||||||
|
|
||||||
Download the [zip archive](https://github.com/vimwiki/vimwiki/archive/dev.zip)
|
Download the [zip archive](https://github.com/vimwiki/vimwiki/archive/dev.zip)
|
||||||
|
|||||||
@@ -47,13 +47,6 @@ function! vimwiki#tags#update_tags(full_rebuild, all_files) abort
|
|||||||
let wiki_base_dir = vimwiki#vars#get_wikilocal('path')
|
let wiki_base_dir = vimwiki#vars#get_wikilocal('path')
|
||||||
let tags_file_last_modification = getftime(vimwiki#tags#metadata_file_path())
|
let tags_file_last_modification = getftime(vimwiki#tags#metadata_file_path())
|
||||||
let metadata = s:load_tags_metadata()
|
let metadata = s:load_tags_metadata()
|
||||||
" Remove stale entries for files no longer on disk
|
|
||||||
let l:ext = vimwiki#vars#get_wikilocal('ext')
|
|
||||||
for pagename in keys(metadata)
|
|
||||||
if !filereadable(wiki_base_dir . pagename . l:ext)
|
|
||||||
call remove(metadata, pagename)
|
|
||||||
endif
|
|
||||||
endfor
|
|
||||||
for file in files
|
for file in files
|
||||||
if all_files || getftime(file) >= tags_file_last_modification
|
if all_files || getftime(file) >= tags_file_last_modification
|
||||||
let subdir = vimwiki#base#subdir(wiki_base_dir, file)
|
let subdir = vimwiki#base#subdir(wiki_base_dir, file)
|
||||||
|
|||||||
@@ -980,7 +980,6 @@ Vimwiki file.
|
|||||||
*:VimwikiRebuildTags*
|
*:VimwikiRebuildTags*
|
||||||
Rebuilds the tags metadata file for all wiki files newer than the metadata
|
Rebuilds the tags metadata file for all wiki files newer than the metadata
|
||||||
file.
|
file.
|
||||||
Stale entries for files that have been deleted or moved are removed automatically.
|
|
||||||
Necessary for all tags related commands: |vimwiki-syntax-tags|.
|
Necessary for all tags related commands: |vimwiki-syntax-tags|.
|
||||||
|
|
||||||
:VimwikiRebuildTags! does the same for all files.
|
:VimwikiRebuildTags! does the same for all files.
|
||||||
@@ -4020,7 +4019,6 @@ Contributors and their Github usernames in roughly chronological order:
|
|||||||
- @jiamingc
|
- @jiamingc
|
||||||
- Alex Claman (@claman)
|
- Alex Claman (@claman)
|
||||||
- @qadzek
|
- @qadzek
|
||||||
- Nathan Giard (@giardn)
|
|
||||||
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
@@ -4040,13 +4038,6 @@ master is retained as a legacy mirror of the dev branch.
|
|||||||
This is somewhat experimental, and will probably be refined over time.
|
This is somewhat experimental, and will probably be refined over time.
|
||||||
|
|
||||||
|
|
||||||
2026.04.08~
|
|
||||||
|
|
||||||
Fixed:~
|
|
||||||
* Issue #795: VimwikiRebuildTags now removes stale entries for files
|
|
||||||
that have been deleted or moved
|
|
||||||
|
|
||||||
|
|
||||||
2024.01.24~
|
2024.01.24~
|
||||||
|
|
||||||
New:~
|
New:~
|
||||||
|
|||||||
Reference in New Issue
Block a user