Test: Add local testing (no docker need), working on windows
Problem: User do not want to install docker to test and docker is not set for windows already Solution: Get the script to make the tests locally with current os and vim Log of workflow (6h): ===================== Test: cloning only last 10 Vader commits locally [tinwin] Test: run_bash fix local copies and prettify/robustify [tinwin] Test: Lint tests and fix err treatment in run_bash [Tinmarino] Test; Windows: Restore the bug that I appended on Linux OLD-PATH env deps [Tinmarino] Test: bash script first success on Windows (only the script not the tests) [tinwin] Test: Dirty Backup [tinwin]
This commit is contained in:
30
test/vimrc
30
test/vimrc
@ -1,18 +1,18 @@
|
||||
source /rtp.vim
|
||||
set runtimepath+=/vader
|
||||
|
||||
" Declare tipical Vim preambule
|
||||
" vint: -ProhibitSetNoCompatible
|
||||
set nocompatible
|
||||
filetype plugin indent on
|
||||
syntax enable
|
||||
|
||||
" Wiki's resources to be used after:
|
||||
" :!cp -r /testplugin/test/resources/* $HOME/
|
||||
" or from a test.vader file Execute block:
|
||||
" call CopyResources()
|
||||
" This complication aims for these copies to be writable
|
||||
" Set chrooted virtual runtime path
|
||||
let rtp=$ROOT.'/rtp.vim'
|
||||
exe 'source '.rtp
|
||||
|
||||
" default syntax
|
||||
" Load Vader
|
||||
let vader=$ROOT.'/vader'
|
||||
exe 'set runtimepath+='.vader
|
||||
|
||||
" Declare default syntax
|
||||
let vimwiki_default = {}
|
||||
let vimwiki_default.path = $HOME . '/testwiki'
|
||||
let vimwiki_default.path_html = $HOME . '/html/default'
|
||||
@ -21,7 +21,7 @@ let vimwiki_default.ext = '.wiki'
|
||||
let vimwiki_default.name = 'DefaultSyntax'
|
||||
let vimwiki_default.base_url = 'https://example.com/'
|
||||
|
||||
" markdown syntax - https://github.github.com/gfm/
|
||||
" Declare markdown syntax - https://github.github.com/gfm/
|
||||
let vimwiki_markdown = {}
|
||||
let vimwiki_markdown.path = $HOME . '/testmarkdown'
|
||||
let vimwiki_markdown.path_html = $HOME . '/html/markdown'
|
||||
@ -29,7 +29,7 @@ let vimwiki_markdown.syntax = 'markdown'
|
||||
let vimwiki_markdown.ext = '.md'
|
||||
let vimwiki_markdown.name = 'MarkdownSyntax'
|
||||
|
||||
" mediawiki syntax - https://www.mediawiki.org/wiki/Help:Formatting
|
||||
" Declare mediawiki syntax - https://www.mediawiki.org/wiki/Help:Formatting
|
||||
let vimwiki_mediawiki = {}
|
||||
let vimwiki_mediawiki.path = $HOME . '/testmediawiki'
|
||||
let vimwiki_mediawiki.path_html = $HOME . '/html/mediawiki'
|
||||
@ -37,10 +37,10 @@ let vimwiki_mediawiki.syntax = 'media'
|
||||
let vimwiki_mediawiki.ext = '.mw'
|
||||
let vimwiki_mediawiki.name = 'MediaWikiSyntax'
|
||||
|
||||
" register the 3 wikis
|
||||
" Register the 3 wikis
|
||||
let g:vimwiki_list = [vimwiki_default, vimwiki_markdown, vimwiki_mediawiki]
|
||||
|
||||
" basic settings
|
||||
" Set basic settings
|
||||
set backspace=indent,eol,start
|
||||
set wildmode=longest:full,full
|
||||
set wildmenu
|
||||
@ -54,11 +54,11 @@ set hidden
|
||||
set laststatus=2
|
||||
set hlsearch
|
||||
|
||||
" use ctrl-p/n for history completion instead of up/down arrows
|
||||
" Map ctrl-p/n for history completion instead of up/down arrows
|
||||
cnoremap <C-p> <Up>
|
||||
cnoremap <C-n> <Down>
|
||||
|
||||
" jj to go back to command mode
|
||||
" Map jj to go back to command mode
|
||||
inoremap jj <esc>
|
||||
|
||||
" Use <C-L> to clear the highlighting of :set hlsearch and also preserve the
|
||||
|
Reference in New Issue
Block a user