mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] Add the mediawiki plugin and its config
This commit is contained in:
parent
87daf79018
commit
5266a98c2b
2 changed files with 23 additions and 0 deletions
22
nvim/plugin/mediawiki.vim
Normal file
22
nvim/plugin/mediawiki.vim
Normal file
|
@ -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…
Add table
Add a link
Reference in a new issue