Auto merge of #1594 - wladston:master, r=Valloric
Updating default semantic hooks. The documentation was updated to be in sync with ycmd @bfcfa21, regarding default semantic hooks defined in ycmd's completer_utils.py.
This commit is contained in:
commit
ef6892210a
@ -1523,13 +1523,13 @@ Default: `[see next line]`
|
||||
|
||||
let g:ycm_semantic_triggers = {
|
||||
\ 'c' : ['->', '.'],
|
||||
\ 'objc' : ['->', '.'],
|
||||
\ 'objc' : ['->', '.', 're!\[[_a-zA-Z]+\w*\s', 're!^\s*[^\W\d]\w*\s',
|
||||
\ 're!\[.*\]\s'],
|
||||
\ 'ocaml' : ['.', '#'],
|
||||
\ 'cpp,objcpp' : ['->', '.', '::'],
|
||||
\ 'perl' : ['->'],
|
||||
\ 'php' : ['->', '::'],
|
||||
\ 'cs,java,javascript,d,python,perl6,scala,vb,elixir,go' : ['.'],
|
||||
\ 'vim' : ['re![_a-zA-Z]+[_\w]*\.'],
|
||||
\ 'cs,java,javascript,typescript,d,python,perl6,scala,vb,elixir,go' : ['.'],
|
||||
\ 'ruby' : ['.', '::'],
|
||||
\ 'lua' : ['.', ':'],
|
||||
\ 'erlang' : [':'],
|
||||
|
@ -1746,13 +1746,13 @@ Default: '[see next line]'
|
||||
>
|
||||
let g:ycm_semantic_triggers = {
|
||||
\ 'c' : ['->', '.'],
|
||||
\ 'objc' : ['->', '.'],
|
||||
\ 'objc' : ['->', '.', 're!\[[_a-zA-Z]+\w*\s', 're!^\s*[^\W\d]\w*\s',
|
||||
\ 're!\[.*\]\s'],
|
||||
\ 'ocaml' : ['.', '#'],
|
||||
\ 'cpp,objcpp' : ['->', '.', '::'],
|
||||
\ 'perl' : ['->'],
|
||||
\ 'php' : ['->', '::'],
|
||||
\ 'cs,java,javascript,d,python,perl6,scala,vb,elixir,go' : ['.'],
|
||||
\ 'vim' : ['re![_a-zA-Z]+[_\w]*\.'],
|
||||
\ 'cs,java,javascript,typescript,d,python,perl6,scala,vb,elixir,go' : ['.'],
|
||||
\ 'ruby' : ['.', '::'],
|
||||
\ 'lua' : ['.', ':'],
|
||||
\ 'erlang' : [':'],
|
||||
|
Loading…
Reference in New Issue
Block a user