1 Commits

Author SHA1 Message Date
Brennen Bearnes cf05d533a4 WIP: update tested versions of vim
Adjusting the list per discussion here:

https://github.com/vimwiki/vimwiki/issues/1445

    nvim 0.10.2
    vim 7.4.2367
    vim 8.2.5172
    vim 9.0.2190
    vim 9.1.0786

Currently nvim 0.10.2 fails to build, so not testing that.  Seems like
vim-testbed is fairly out-of-date.  I filed this re: project status:

https://github.com/Vimjas/vim-testbed/issues/91

I'm not entirely sure what's up with the commented-out partial (?) sets of
tests for a-k*, l*, m* for different versions. Just conserving resources
by partially testing older versions?
2024-11-30 22:19:49 -07:00
5 changed files with 18 additions and 51 deletions
+10 -6
View File
@@ -64,20 +64,24 @@ jobs:
opt: [
# "vint",
"-n vim_7.3.429",
"-n vim_8.1.0519",
"-n vim_7.4.2367",
"-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
# -- Currently I experienced some surprised due to defaults
# -- tinmarino 2023-03-10
# "-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
# So I decided to escape the *
"-n vim_7.4.1099 -f '[a-k]*.vader'",
"-n vim_7.4.1546 -f 'l*.vader'",
"-n vim_8.0.0027 -f '[m-z]*.vader'",
# "-n vim_7.4.1099 -f '[a-k]*.vader'",
# "-n vim_7.4.1546 -f 'l*.vader'",
# "-n vim_8.0.0027 -f '[m-z]*.vader'",
]
steps:
# This action is required to fetch the code to test
+8 -7
View File
@@ -17,10 +17,11 @@ RUN git checkout de8a976f1eae2c2b680604205c3e8b5c8882493c
# Build vim and neovim versions we want to test
WORKDIR /
RUN install_vim -tag v7.3.429 -name vim_7.3.429 -build
RUN install_vim -tag v7.4.1099 -name vim_7.4.1099 -build
RUN install_vim -tag v7.4.1546 -name vim_7.4.1546 -build
RUN install_vim -tag v8.0.0027 -name vim_8.0.0027 -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
RUN install_vim -tag neovim:v0.3.8 -name nvim_0.3.8 -build
RUN install_vim -tag v7.4.2367 -name vim_7.4.2367 -build
RUN install_vim -tag v8.2.5172 -name vim_8.2.5172 -build
RUN install_vim -tag v9.0.2190 -name v9.0.2190 -build
RUN install_vim -tag v9.1.0786 -name v9.1.0786 -build
# TODO: This one doesn't build - vim-testbed seems way out of date:
# TODO: tag neovim:v0.10.2, name nvim_0.10.2
# (Format as install_vim instances above.)
-22
View File
@@ -10,8 +10,6 @@
- [Pathogen](#installation-using-pathogen)
- [Vim-Plug](#installation-using-vim-plug)
- [Vundle](#installation-using-vundle)
- [Lazy](#installation-using-lazy)
- [Basic Markup](#basic-markup)
- [Lists](#lists)
- [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
Download the [zip archive](https://github.com/vimwiki/vimwiki/archive/dev.zip)
-7
View File
@@ -47,13 +47,6 @@ function! vimwiki#tags#update_tags(full_rebuild, all_files) abort
let wiki_base_dir = vimwiki#vars#get_wikilocal('path')
let tags_file_last_modification = getftime(vimwiki#tags#metadata_file_path())
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
if all_files || getftime(file) >= tags_file_last_modification
let subdir = vimwiki#base#subdir(wiki_base_dir, file)
-9
View File
@@ -980,7 +980,6 @@ Vimwiki file.
*:VimwikiRebuildTags*
Rebuilds the tags metadata file for all wiki files newer than the metadata
file.
Stale entries for files that have been deleted or moved are removed automatically.
Necessary for all tags related commands: |vimwiki-syntax-tags|.
:VimwikiRebuildTags! does the same for all files.
@@ -4020,7 +4019,6 @@ Contributors and their Github usernames in roughly chronological order:
- @jiamingc
- Alex Claman (@claman)
- @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.
2026.04.08~
Fixed:~
* Issue #795: VimwikiRebuildTags now removes stale entries for files
that have been deleted or moved
2024.01.24~
New:~