Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 5 commits
  • 4 files changed
  • 0 commit comments
  • 2 contributors
View
1  .gitignore
@@ -1,6 +1,7 @@
tags
Makefile
TODO.TXT
+TODO_archived.viki
*.vba
*.vmb
*.zip
View
14 autoload/viki.vim
@@ -4,7 +4,7 @@
" @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
" @Created: 2007-03-25.
" @Last Change: 2012-09-24.
-" @Revision: 0.1125
+" @Revision: 0.1133
exec 'runtime! autoload/viki/enc_'. substitute(&enc, '[\/<>*+&:?]', '_', 'g') .'.vim'
@@ -54,10 +54,10 @@ endif
" search text. The expression has to conform to the very nomagic |/\V|
" syntax.
-" Characters allowed in anchors
-" Defaults to:
-" [b:vikiLowerCharacters][b:vikiLowerCharacters + b:vikiUpperCharacters + '_0-9]*
if !exists('g:vikiAnchorNameRx')
+ " Characters allowed in anchors
+ " Defaults to:
+ " [b:vikiLowerCharacters][b:vikiLowerCharacters + b:vikiUpperCharacters + '_0-9]*
let g:vikiAnchorNameRx = '' "{{{2
endif
@@ -664,7 +664,7 @@ if !exists("g:vikiOpenUrlWith_ANY")
elseif has("mac")
let g:vikiOpenUrlWith_ANY = "exec 'silent !open '. escape('%{URL}', ' &!%')"
elseif exists('$XDG_CURRENT_DESKTOP') && !empty($XDG_CURRENT_DESKTOP)
- let g:vikiOpenFileWith_ANY = "exec 'silent !xdg-open '. shellescape('%{URL}')"
+ let g:vikiOpenUrlWith_ANY = "exec 'silent !xdg-open '. shellescape('%{URL}')"
elseif $GNOME_DESKTOP_SESSION_ID != ""
let g:vikiOpenUrlWith_ANY = "exec 'silent !gnome-open '. shellescape('%{URL}')"
elseif $KDEDIR != ""
@@ -1066,13 +1066,13 @@ function! viki#HighlightInexistent() "{{{3
endif
endf
-" Check a text element for inexistent names
if v:version == 700 && !has('patch8')
function! s:SID()
let fullname = expand("<sfile>")
return matchstr(fullname, '<SNR>\d\+_')
endf
+ " Check a text element for inexistent names
function! viki#MarkInexistentInElement(elt) "{{{3
if exists('b:vikiEnabled') && b:vikiEnabled <= 1
finish
@@ -3101,7 +3101,7 @@ fun! s:GetRegionArgs(ls, le) "{{{3
let t = @t
try
let t = s:GetBrokenLine(a:ls, a:le)
- " TLogVAR t
+ " TLogVAR t
let t = matchstr(t, '^\s*#\([A-Z]\([a-z][A-Za-z]*\)\?\>\|!!!\)\zs.\{-}\ze<<\S*$')
" TLogVAR t
let args = {}
View
8 doc/viki.txt
@@ -1132,6 +1132,8 @@ g:vikiIndentedPriorityLists (default: 1)
b:vikiNoSimpleNames (default: 0)
If non-nil, simple viki names are disabled.
+
+
*b:vikiDisableType*
b:vikiDisableType (default: "")
Disable certain viki name types (see |vikiNameTypes|).
@@ -1589,7 +1591,6 @@ viki#Mode(...)
*VikiOpenAsWorkspace()*
VikiOpenAsWorkspace(file)
- Special file handlers
*g:vikiOpenFileWith_ANY*
g:vikiOpenFileWith_ANY (default: "exec 'silent !'. g:netrw_browsex_viewer .' '. shellescape('%{FILE}')")
@@ -1610,7 +1611,6 @@ VikiOpenSpecialFile(file)
*g:vikiOpenUrlWith_mailbox*
g:vikiOpenUrlWith_mailbox (default: "call VikiOpenMailbox('%{URL}')")
- Special protocol handlers
*VikiOpenMailbox()*
VikiOpenMailbox(url)
@@ -1676,11 +1676,9 @@ viki#RxFromCollection(coll)
viki#HighlightInexistent()
Actually highlight inexistent file names
-
- Check a text element for inexistent names
-
*viki#MarkInexistentInElement()*
viki#MarkInexistentInElement(elt)
+ Check a text element for inexistent names
*viki#ExprMarkInexistentInElement()*
viki#ExprMarkInexistentInElement(elt, key)
View
3  plugin/viki.vim
@@ -3,7 +3,7 @@
" @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
" @Created: 08-Dec-2003.
" @Last Change: 2012-08-28.
-" @Revision: 2748
+" @Revision: 2749
"
" GetLatestVimScripts: 861 1 viki.vim
"
@@ -113,6 +113,7 @@ endif
" Can also be buffer-local.
" :read: let g:vikiSplit = NO DEFAULT
+" :doc:
" If non-nil, simple viki names are disabled.
" :read: let b:vikiNoSimpleNames = 0 "{{{2

No commit comments for this range

Something went wrong with that request. Please try again.