Add option to set a character which replaces spaces when creating links.
The wikilocal option links_space_char will be used to replace any spaces when creating a new wiki link and page. This only affects link creation with a visual selection.
This commit is contained in:
@ -269,6 +269,7 @@ function! s:populate_wikilocal_options()
|
||||
\ 'exclude_files': {'type': type([]), 'default': []},
|
||||
\ 'ext': {'type': type(''), 'default': '.wiki', 'min_length': 1},
|
||||
\ 'index': {'type': type(''), 'default': 'index', 'min_length': 1},
|
||||
\ 'links_space_char': {'type': type(''), 'default': ' ', 'min_length': 1},
|
||||
\ 'list_margin': {'type': type(0), 'default': -1, 'min': -1},
|
||||
\ 'maxhi': {'type': type(0), 'default': 0, 'min': 0, 'max': 1},
|
||||
\ 'nested_syntaxes': {'type': type({}), 'default': {}},
|
||||
|
Reference in New Issue
Block a user