[nvim] Add the mediawiki plugin and its config
This commit is contained in:
parent
87daf79018
commit
5266a98c2b
|
@ -39,6 +39,7 @@ let s:plug = funcref('dotfiles#plugman#register')
|
|||
call s:plug('luke-gru/vim-riml')
|
||||
call s:plug('guns/vim-sexp')
|
||||
call s:plug('vim-scripts/newlisp')
|
||||
call s:plug('m-pilia/vim-mediawiki')
|
||||
call s:plug('noahfrederick/vim-laravel') " dependencies {{{
|
||||
call s:plug('noahfrederick/vim-composer')
|
||||
call s:plug('tpope/vim-projectionist')
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
let g:vim_mediawiki_site = 'wiki.c2dl.info'
|
||||
if has('macunix')
|
||||
let g:vim_mediawiki_browser_command = 'open \r'
|
||||
else
|
||||
let g:vim_mediawiki_browser_command = 'xdg-open \r'
|
||||
endif
|
||||
let g:vim_mediawiki_completion_prefix_length = 5
|
||||
let g:vim_mediawiki_completion_limit = 5
|
||||
let g:vim_mediawiki_completion_namespaces = {
|
||||
\ 'default': {
|
||||
\ '[[': 0,
|
||||
\ '{{': 10,
|
||||
\ '[[File:': 6,
|
||||
\ '[[Category:': 14,
|
||||
\ },
|
||||
\ 'wiki.c2dl.info': {
|
||||
\ '[[': 0,
|
||||
\ '{{': 10,
|
||||
\ '[[File:': 6,
|
||||
\ '[[Category:': 14,
|
||||
\ },
|
||||
\ }
|
Loading…
Reference in New Issue