Allow to take the full SourceConfig from source API (#561)

* - SourceConfig.opts -> SourceConfig.option
- Add SourceConfig.trigger_characters
- Allow accessing full SourceConfig from source

* fmt&lint
This commit is contained in:
hrsh7th
2021-11-23 21:17:03 +09:00
committed by GitHub
parent ea10d5bd2f
commit 1944b46336
7 changed files with 73 additions and 38 deletions

View File

@@ -17,9 +17,6 @@ return function()
completeopt = 'menu,menuone,noselect',
keyword_pattern = [[\%(-\?\d\+\%(\.\d\+\)\?\|\h\w*\%(-\w*\)*\)]],
keyword_length = 1,
get_trigger_characters = function(trigger_characters)
return trigger_characters
end,
},
snippet = {