roxma / nvim-completion-manager

:warning: PLEASE USE https://github.com/ncm2/ncm2 INSTEAD
MIT License
917 stars 49 forks source link

Shows nvim-completion-manager core channel terminated% every time after quit #149

Closed the-c0d3r closed 6 years ago

the-c0d3r commented 6 years ago

Like the title suggests, whenever I close neovim, it will show me that message nvim-completion-manager core channel terminated% Is there a way to stop the message from appearing on the console? It is annoying to see it everytime I close nvim. Below is the debug logs generated. Please tell me if my completion manager installation/configuration is broken or how to disable the message. Thanks

2017-10-18 18:30:28,468 [INFO @ cm_start.py:main:47] 3437 - start_channel for cm_core
2017-10-18 18:30:28,490 [INFO @ cm.py:setup_neovim:165] 3437 - connecting to neovim server: /var/folders/r_/_0hyx99x00qflnxjvm38zg6c0000gn/T/nvimPY70iz/0
2017-10-18 18:30:28,511 [INFO @ cm.py:start_and_run_channel:199] 3437 - starting core, enter event loop
2017-10-18 18:30:28,511 [INFO @ cm.py:start_and_run_channel:275] 3437 - <cm_core> entering event loop
2017-10-18 18:30:28,511 [DEBUG @ cm.py:on_notification:248] 3437 - core method: cm_setup, args: []
2017-10-18 18:30:28,513 [INFO @ cm.py:on_notification:238] 3437 - delay notification handling, method[cm_start_channels]
2017-10-18 18:30:28,525 [INFO @ cm_core.py:register_source:135] 3437 - registering source: {'channel': {'type': 'python3', 'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter']}, 'abbreviation': 'Key', 'priority': 5, 'name': 'cm-bufkeyword', 'enable': True}
2017-10-18 18:30:28,525 [INFO @ cm_core.py:_detect_sources:149] 3437 - source <cm_sources.cm_bufkeyword> registered
2017-10-18 18:30:28,526 [INFO @ cm_core.py:register_source:135] 3437 - registering source: {'sort': 0, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_filepath', 'events': []}, 'abbreviation': 'path', 'name': 'cm-filepath', 'cm_refresh_patterns': ['(\\.[/\\\\]+|[a-zA-Z]:\\\\+|~\\/+)', '([^\\W]|[-.~%$]|[/\\\\])+[/\\\\]+'], 'word_pattern': '([^\\W]|[-.~%$])+', 'options': {'path_pattern': '(([^\\W]|[-.~%$]|[/\\\\])+)'}, 'priority': 6, 'enable': True}
2017-10-18 18:30:28,526 [INFO @ cm_core.py:_detect_sources:149] 3437 - source <cm_sources.cm_filepath> registered
2017-10-18 18:30:28,526 [INFO @ cm_core.py:register_source:135] 3437 - registering source: {'early_cache': 1, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_gocode', 'events': []}, 'abbreviation': 'Go', 'scopes': ['go'], 'name': 'cm-gocode', 'cm_refresh_patterns': ['\\.'], 'word_pattern': '[\\w/]+', 'scoping': True, 'priority': 9, 'enable': True}
2017-10-18 18:30:28,527 [INFO @ cm_core.py:_detect_sources:149] 3437 - source <cm_sources.cm_gocode> registered
2017-10-18 18:30:28,527 [INFO @ cm_core.py:register_source:135] 3437 - registering source: {'channel': {'type': 'python3', 'multi_thread': 0, 'module': 'cm_sources.cm_jedi', 'events': []}, 'abbreviation': 'Py', 'scopes': ['python'], 'name': 'cm-jedi', 'cm_refresh_patterns': ['^(import|from).*\\s', '\\.', '\\(\\s?', ',\\s?'], 'scoping': True, 'priority': 9, 'enable': True}
2017-10-18 18:30:28,528 [INFO @ cm_core.py:_detect_sources:149] 3437 - source <cm_sources.cm_jedi> registered
2017-10-18 18:30:28,528 [INFO @ cm_core.py:register_source:135] 3437 - registering source: {'sort': 0, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_keyword_continue', 'events': []}, 'abbreviation': '', 'auto_popup': 0, 'name': 'cm-keyword-continue', 'cm_refresh_length': 0, 'word_pattern': '\\w+', 'priority': 5, 'enable': True}
2017-10-18 18:30:28,529 [INFO @ cm_core.py:_detect_sources:149] 3437 - source <cm_sources.cm_keyword_continue> registered
2017-10-18 18:30:28,529 [INFO @ cm_core.py:register_source:135] 3437 - registering source: {'channel': {'type': 'python3', 'module': 'cm_sources.cm_tags', 'events': ['WinEnter']}, 'abbreviation': 'Tag', 'priority': 6, 'name': 'cm-tags', 'enable': True}
2017-10-18 18:30:28,530 [INFO @ cm_core.py:_detect_sources:149] 3437 - source <cm_sources.cm_tags> registered
2017-10-18 18:30:28,531 [INFO @ cm_core.py:register_source:135] 3437 - registering source: {'channel': {'type': 'python3', 'module': 'cm_sources.cm_tmux', 'events': ['CursorHold', 'CursorHoldI', 'FocusGained', 'BufEnter']}, 'abbreviation': 'Tmux', 'priority': 4, 'name': 'cm-tmux', 'enable': False}
2017-10-18 18:30:28,532 [INFO @ cm_core.py:_detect_sources:149] 3437 - source <cm_sources.cm_tmux> registered
2017-10-18 18:30:28,533 [INFO @ cm.py:on_notification:238] 3437 - delay notification handling, method[cm_start_channels]
2017-10-18 18:30:28,534 [INFO @ cm.py:on_notification:238] 3437 - delay notification handling, method[cm_start_channels]
2017-10-18 18:30:28,535 [INFO @ cm.py:on_notification:238] 3437 - delay notification handling, method[cm_start_channels]
2017-10-18 18:30:28,536 [INFO @ cm.py:on_notification:238] 3437 - delay notification handling, method[cm_start_channels]
2017-10-18 18:30:28,537 [INFO @ cm.py:on_notification:238] 3437 - delay notification handling, method[cm_start_channels]
2017-10-18 18:30:28,538 [INFO @ cm.py:on_notification:238] 3437 - delay notification handling, method[cm_start_channels]
2017-10-18 18:30:28,539 [INFO @ cm.py:on_notification:238] 3437 - delay notification handling, method[cm_start_channels]
2017-10-18 18:30:28,540 [INFO @ cm_core.py:_load_scopers:96] 3437 - scoper <cm_scopers.html_scoper> imported for html
2017-10-18 18:30:28,540 [INFO @ cm_core.py:_load_scopers:96] 3437 - scoper <cm_scopers.html_scoper> imported for xhtml
2017-10-18 18:30:28,540 [INFO @ cm_core.py:_load_scopers:96] 3437 - scoper <cm_scopers.html_scoper> imported for php
2017-10-18 18:30:28,541 [INFO @ cm_core.py:_load_scopers:96] 3437 - scoper <cm_scopers.html_scoper> imported for blade
2017-10-18 18:30:28,541 [INFO @ cm_core.py:_load_scopers:96] 3437 - scoper <cm_scopers.html_scoper> imported for jinja
2017-10-18 18:30:28,541 [INFO @ cm_core.py:_load_scopers:96] 3437 - scoper <cm_scopers.html_scoper> imported for jinja2
2017-10-18 18:30:28,541 [INFO @ cm_core.py:_load_scopers:96] 3437 - scoper <cm_scopers.html_scoper> imported for vue.html.javascript.css
2017-10-18 18:30:28,541 [INFO @ cm_core.py:_load_scopers:96] 3437 - scoper <cm_scopers.html_scoper> imported for vue
2017-10-18 18:30:28,542 [INFO @ cm_core.py:_load_scopers:96] 3437 - scoper <cm_scopers.markdown_scoper> imported for markdown
2017-10-18 18:30:28,543 [INFO @ cm_core.py:_load_scopers:96] 3437 - scoper <cm_scopers.rst_scoper> imported for rst
2017-10-18 18:30:28,543 [INFO @ cm_core.py:_load_scopers:101] 3437 - _subscope_detectors: {'rst': [<cm_scopers.rst_scoper.Scoper object at 0x1032dd0b8>], 'xhtml': [<cm_scopers.html_scoper.Scoper object at 0x1030871d0>], 'markdown': [<cm_scopers.markdown_scoper.Scoper object at 0x10309e470>], 'blade': [<cm_scopers.html_scoper.Scoper object at 0x1030871d0>], 'html': [<cm_scopers.html_scoper.Scoper object at 0x1030871d0>], 'jinja2': [<cm_scopers.html_scoper.Scoper object at 0x1030871d0>], 'vue': [<cm_scopers.html_scoper.Scoper object at 0x1030871d0>], 'jinja': [<cm_scopers.html_scoper.Scoper object at 0x1030871d0>], 'vue.html.javascript.css': [<cm_scopers.html_scoper.Scoper object at 0x1030871d0>], 'php': [<cm_scopers.html_scoper.Scoper object at 0x1030871d0>]}
2017-10-18 18:30:28,543 [DEBUG @ cm.py:on_notification:265] 3437 - core method cm_setup completed
2017-10-18 18:30:28,543 [DEBUG @ cm.py:on_notification:248] 3437 - core method: cm_start_channels, args: [{'cm-css': {'early_cache': 0, 'abbreviation': 'css', 'cm_refresh_patterns': ['[\\w\\-]+\\s*:\\s+'], 'word_pattern': '[\\w\\-]+', 'enable': 1, 'sort': 1, 'scopes': ['css', 'scss'], 'name': 'cm-css', 'cm_refresh_length': 3, 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'}, 'auto_popup': 1, 'scoping': 1, 'priority': 9}}, {'filepath': '', 'bufnr': 1, 'curpos': [0, 1, 1, 0, 1], 'col': 1, 'lnum': 1, 'typed': '', 'changedtick': 2, 'filetype': ''}]
2017-10-18 18:30:28,543 [DEBUG @ cm.py:on_notification:265] 3437 - core method cm_start_channels completed
2017-10-18 18:30:28,543 [DEBUG @ cm.py:on_notification:248] 3437 - core method: cm_start_channels, args: [{'cm-css': {'early_cache': 0, 'abbreviation': 'css', 'cm_refresh_patterns': ['[\\w\\-]+\\s*:\\s+'], 'word_pattern': '[\\w\\-]+', 'enable': 1, 'sort': 1, 'scopes': ['css', 'scss'], 'name': 'cm-css', 'cm_refresh_length': 3, 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'}, 'auto_popup': 1, 'scoping': 1, 'priority': 9}, 'cm-bufkeyword': {'channel': {'type': 'python3', 'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter']}, 'early_cache': 0, 'name': 'cm-bufkeyword', 'cm_refresh_length': 4, 'abbreviation': 'Key', 'auto_popup': 1, 'enable': True, 'sort': 1, 'priority': 5}}, {'filepath': '', 'bufnr': 1, 'curpos': [0, 1, 1, 0, 1], 'col': 1, 'lnum': 1, 'typed': '', 'changedtick': 2, 'filetype': ''}]
2017-10-18 18:30:28,543 [INFO @ cm_core.py:_start_channel:703] 3437 - starting <cm-bufkeyword> thread channel
2017-10-18 18:30:28,544 [INFO @ cm.py:setup_neovim:165] 3437 - connecting to neovim server: /var/folders/r_/_0hyx99x00qflnxjvm38zg6c0000gn/T/nvimPY70iz/0
2017-10-18 18:30:28,544 [DEBUG @ cm.py:on_notification:265] 3437 - core method cm_start_channels completed
2017-10-18 18:30:28,544 [DEBUG @ cm.py:on_notification:248] 3437 - core method: cm_start_channels, args: [{'cm-filepath': {'early_cache': 0, 'abbreviation': 'path', 'cm_refresh_patterns': ['(\\.[/\\\\]+|[a-zA-Z]:\\\\+|~\\/+)', '([^\\W]|[-.~%$]|[/\\\\])+[/\\\\]+'], 'word_pattern': '([^\\W]|[-.~%$])+', 'enable': True, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_filepath', 'events': []}, 'sort': 0, 'name': 'cm-filepath', 'cm_refresh_length': 4, 'auto_popup': 1, 'options': {'path_pattern': '(([^\\W]|[-.~%$]|[/\\\\])+)'}, 'priority': 6}, 'cm-css': {'early_cache': 0, 'abbreviation': 'css', 'cm_refresh_patterns': ['[\\w\\-]+\\s*:\\s+'], 'word_pattern': '[\\w\\-]+', 'enable': 1, 'sort': 1, 'scopes': ['css', 'scss'], 'name': 'cm-css', 'cm_refresh_length': 3, 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'}, 'auto_popup': 1, 'scoping': 1, 'priority': 9}, 'cm-bufkeyword': {'channel': {'type': 'python3', 'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter']}, 'early_cache': 0, 'name': 'cm-bufkeyword', 'cm_refresh_length': 4, 'abbreviation': 'Key', 'auto_popup': 1, 'enable': True, 'sort': 1, 'priority': 5}}, {'filepath': '', 'bufnr': 1, 'curpos': [0, 1, 1, 0, 1], 'col': 1, 'lnum': 1, 'typed': '', 'changedtick': 2, 'filetype': ''}]
2017-10-18 18:30:28,544 [INFO @ cm_core.py:_start_channel:703] 3437 - starting <cm-filepath> thread channel
2017-10-18 18:30:28,544 [INFO @ cm.py:setup_neovim:165] 3437 - connecting to neovim server: /var/folders/r_/_0hyx99x00qflnxjvm38zg6c0000gn/T/nvimPY70iz/0
2017-10-18 18:30:28,545 [DEBUG @ cm.py:on_notification:265] 3437 - core method cm_start_channels completed
2017-10-18 18:30:28,545 [DEBUG @ cm.py:on_notification:248] 3437 - core method: cm_start_channels, args: [{'cm-filepath': {'early_cache': 0, 'abbreviation': 'path', 'cm_refresh_patterns': ['(\\.[/\\\\]+|[a-zA-Z]:\\\\+|~\\/+)', '([^\\W]|[-.~%$]|[/\\\\])+[/\\\\]+'], 'word_pattern': '([^\\W]|[-.~%$])+', 'enable': True, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_filepath', 'events': []}, 'sort': 0, 'name': 'cm-filepath', 'cm_refresh_length': 4, 'auto_popup': 1, 'options': {'path_pattern': '(([^\\W]|[-.~%$]|[/\\\\])+)'}, 'priority': 6}, 'cm-css': {'early_cache': 0, 'abbreviation': 'css', 'cm_refresh_patterns': ['[\\w\\-]+\\s*:\\s+'], 'word_pattern': '[\\w\\-]+', 'enable': 1, 'sort': 1, 'scopes': ['css', 'scss'], 'name': 'cm-css', 'cm_refresh_length': 3, 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'}, 'auto_popup': 1, 'scoping': 1, 'priority': 9}, 'cm-gocode': {'early_cache': 1, 'abbreviation': 'Go', 'cm_refresh_patterns': ['\\.'], 'word_pattern': '[\\w/]+', 'enable': True, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_gocode', 'events': []}, 'sort': 1, 'scopes': ['go'], 'name': 'cm-gocode', 'cm_refresh_length': 3, 'auto_popup': 1, 'scoping': True, 'priority': 9}, 'cm-bufkeyword': {'channel': {'type': 'python3', 'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter']}, 'early_cache': 0, 'name': 'cm-bufkeyword', 'cm_refresh_length': 4, 'abbreviation': 'Key', 'auto_popup': 1, 'enable': True, 'sort': 1, 'priority': 5}}, {'filepath': '', 'bufnr': 1, 'curpos': [0, 1, 1, 0, 1], 'col': 1, 'lnum': 1, 'typed': '', 'changedtick': 2, 'filetype': ''}]
2017-10-18 18:30:28,545 [DEBUG @ cm.py:on_notification:265] 3437 - core method cm_start_channels completed
2017-10-18 18:30:28,545 [DEBUG @ cm.py:on_notification:248] 3437 - core method: cm_start_channels, args: [{'cm-jedi': {'early_cache': 0, 'abbreviation': 'Py', 'cm_refresh_patterns': ['^(import|from).*\\s', '\\.', '\\(\\s?', ',\\s?'], 'enable': True, 'channel': {'type': 'python3', 'multi_thread': 0, 'module': 'cm_sources.cm_jedi', 'events': []}, 'sort': 1, 'scopes': ['python'], 'name': 'cm-jedi', 'cm_refresh_length': 3, 'auto_popup': 1, 'scoping': True, 'priority': 9}, 'cm-filepath': {'early_cache': 0, 'abbreviation': 'path', 'cm_refresh_patterns': ['(\\.[/\\\\]+|[a-zA-Z]:\\\\+|~\\/+)', '([^\\W]|[-.~%$]|[/\\\\])+[/\\\\]+'], 'word_pattern': '([^\\W]|[-.~%$])+', 'enable': True, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_filepath', 'events': []}, 'sort': 0, 'name': 'cm-filepath', 'cm_refresh_length': 4, 'auto_popup': 1, 'options': {'path_pattern': '(([^\\W]|[-.~%$]|[/\\\\])+)'}, 'priority': 6}, 'cm-css': {'early_cache': 0, 'abbreviation': 'css', 'cm_refresh_patterns': ['[\\w\\-]+\\s*:\\s+'], 'word_pattern': '[\\w\\-]+', 'enable': 1, 'sort': 1, 'scopes': ['css', 'scss'], 'name': 'cm-css', 'cm_refresh_length': 3, 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'}, 'auto_popup': 1, 'scoping': 1, 'priority': 9}, 'cm-gocode': {'early_cache': 1, 'abbreviation': 'Go', 'cm_refresh_patterns': ['\\.'], 'word_pattern': '[\\w/]+', 'enable': True, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_gocode', 'events': []}, 'sort': 1, 'scopes': ['go'], 'name': 'cm-gocode', 'cm_refresh_length': 3, 'auto_popup': 1, 'scoping': True, 'priority': 9}, 'cm-bufkeyword': {'channel': {'type': 'python3', 'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter']}, 'early_cache': 0, 'name': 'cm-bufkeyword', 'cm_refresh_length': 4, 'abbreviation': 'Key', 'auto_popup': 1, 'enable': True, 'sort': 1, 'priority': 5}}, {'filepath': '', 'bufnr': 1, 'curpos': [0, 1, 1, 0, 1], 'col': 1, 'lnum': 1, 'typed': '', 'changedtick': 2, 'filetype': ''}]
2017-10-18 18:30:28,545 [DEBUG @ cm.py:on_notification:265] 3437 - core method cm_start_channels completed
2017-10-18 18:30:28,546 [DEBUG @ cm.py:on_notification:248] 3437 - core method: cm_start_channels, args: [{'cm-gocode': {'early_cache': 1, 'abbreviation': 'Go', 'cm_refresh_patterns': ['\\.'], 'word_pattern': '[\\w/]+', 'enable': True, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_gocode', 'events': []}, 'sort': 1, 'scopes': ['go'], 'name': 'cm-gocode', 'cm_refresh_length': 3, 'auto_popup': 1, 'scoping': True, 'priority': 9}, 'cm-keyword-continue': {'early_cache': 0, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_keyword_continue', 'events': []}, 'sort': 0, 'name': 'cm-keyword-continue', 'cm_refresh_length': 0, 'abbreviation': '', 'word_pattern': '\\w+', 'enable': True, 'auto_popup': 0, 'priority': 5}, 'cm-bufkeyword': {'channel': {'type': 'python3', 'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter']}, 'early_cache': 0, 'name': 'cm-bufkeyword', 'cm_refresh_length': 4, 'abbreviation': 'Key', 'auto_popup': 1, 'enable': True, 'sort': 1, 'priority': 5}, 'cm-filepath': {'early_cache': 0, 'abbreviation': 'path', 'cm_refresh_patterns': ['(\\.[/\\\\]+|[a-zA-Z]:\\\\+|~\\/+)', '([^\\W]|[-.~%$]|[/\\\\])+[/\\\\]+'], 'word_pattern': '([^\\W]|[-.~%$])+', 'enable': True, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_filepath', 'events': []}, 'sort': 0, 'name': 'cm-filepath', 'cm_refresh_length': 4, 'auto_popup': 1, 'options': {'path_pattern': '(([^\\W]|[-.~%$]|[/\\\\])+)'}, 'priority': 6}, 'cm-css': {'early_cache': 0, 'abbreviation': 'css', 'cm_refresh_patterns': ['[\\w\\-]+\\s*:\\s+'], 'word_pattern': '[\\w\\-]+', 'enable': 1, 'sort': 1, 'scopes': ['css', 'scss'], 'name': 'cm-css', 'cm_refresh_length': 3, 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'}, 'auto_popup': 1, 'scoping': 1, 'priority': 9}, 'cm-jedi': {'early_cache': 0, 'abbreviation': 'Py', 'cm_refresh_patterns': ['^(import|from).*\\s', '\\.', '\\(\\s?', ',\\s?'], 'enable': True, 'channel': {'type': 'python3', 'multi_thread': 0, 'module': 'cm_sources.cm_jedi', 'events': []}, 'sort': 1, 'scopes': ['python'], 'name': 'cm-jedi', 'cm_refresh_length': 3, 'auto_popup': 1, 'scoping': True, 'priority': 9}}, {'filepath': '', 'bufnr': 1, 'curpos': [0, 1, 1, 0, 1], 'col': 1, 'lnum': 1, 'typed': '', 'changedtick': 2, 'filetype': ''}]
2017-10-18 18:30:28,546 [INFO @ cm_core.py:_start_channel:703] 3437 - starting <cm-keyword-continue> thread channel
2017-10-18 18:30:28,547 [INFO @ cm.py:setup_neovim:165] 3437 - connecting to neovim server: /var/folders/r_/_0hyx99x00qflnxjvm38zg6c0000gn/T/nvimPY70iz/0
2017-10-18 18:30:28,547 [DEBUG @ cm.py:on_notification:265] 3437 - core method cm_start_channels completed
2017-10-18 18:30:28,547 [DEBUG @ cm.py:on_notification:248] 3437 - core method: cm_start_channels, args: [{'cm-gocode': {'early_cache': 1, 'abbreviation': 'Go', 'cm_refresh_patterns': ['\\.'], 'word_pattern': '[\\w/]+', 'enable': True, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_gocode', 'events': []}, 'sort': 1, 'scopes': ['go'], 'name': 'cm-gocode', 'cm_refresh_length': 3, 'auto_popup': 1, 'scoping': True, 'priority': 9}, 'cm-keyword-continue': {'early_cache': 0, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_keyword_continue', 'events': []}, 'sort': 0, 'name': 'cm-keyword-continue', 'cm_refresh_length': 0, 'abbreviation': '', 'word_pattern': '\\w+', 'enable': True, 'auto_popup': 0, 'priority': 5}, 'cm-bufkeyword': {'channel': {'type': 'python3', 'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter']}, 'early_cache': 0, 'name': 'cm-bufkeyword', 'cm_refresh_length': 4, 'abbreviation': 'Key', 'auto_popup': 1, 'enable': True, 'sort': 1, 'priority': 5}, 'cm-tags': {'channel': {'type': 'python3', 'module': 'cm_sources.cm_tags', 'events': ['WinEnter']}, 'early_cache': 0, 'name': 'cm-tags', 'cm_refresh_length': 4, 'abbreviation': 'Tag', 'auto_popup': 1, 'enable': True, 'sort': 1, 'priority': 6}, 'cm-filepath': {'early_cache': 0, 'abbreviation': 'path', 'cm_refresh_patterns': ['(\\.[/\\\\]+|[a-zA-Z]:\\\\+|~\\/+)', '([^\\W]|[-.~%$]|[/\\\\])+[/\\\\]+'], 'word_pattern': '([^\\W]|[-.~%$])+', 'enable': True, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_filepath', 'events': []}, 'sort': 0, 'name': 'cm-filepath', 'cm_refresh_length': 4, 'auto_popup': 1, 'options': {'path_pattern': '(([^\\W]|[-.~%$]|[/\\\\])+)'}, 'priority': 6}, 'cm-css': {'early_cache': 0, 'abbreviation': 'css', 'cm_refresh_patterns': ['[\\w\\-]+\\s*:\\s+'], 'word_pattern': '[\\w\\-]+', 'enable': 1, 'sort': 1, 'scopes': ['css', 'scss'], 'name': 'cm-css', 'cm_refresh_length': 3, 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'}, 'auto_popup': 1, 'scoping': 1, 'priority': 9}, 'cm-jedi': {'early_cache': 0, 'abbreviation': 'Py', 'cm_refresh_patterns': ['^(import|from).*\\s', '\\.', '\\(\\s?', ',\\s?'], 'enable': True, 'channel': {'type': 'python3', 'multi_thread': 0, 'module': 'cm_sources.cm_jedi', 'events': []}, 'sort': 1, 'scopes': ['python'], 'name': 'cm-jedi', 'cm_refresh_length': 3, 'auto_popup': 1, 'scoping': True, 'priority': 9}}, {'filepath': '', 'bufnr': 1, 'curpos': [0, 1, 1, 0, 1], 'col': 1, 'lnum': 1, 'typed': '', 'changedtick': 2, 'filetype': ''}]
2017-10-18 18:30:28,548 [INFO @ cm_core.py:_start_channel:703] 3437 - starting <cm-tags> thread channel
2017-10-18 18:30:28,554 [INFO @ cm.py:setup_neovim:165] 3437 - connecting to neovim server: /var/folders/r_/_0hyx99x00qflnxjvm38zg6c0000gn/T/nvimPY70iz/0
2017-10-18 18:30:28,560 [DEBUG @ cm.py:on_notification:265] 3437 - core method cm_start_channels completed
2017-10-18 18:30:28,561 [DEBUG @ cm.py:on_notification:248] 3437 - core method: cm_start_channels, args: [{'cm-gocode': {'early_cache': 1, 'abbreviation': 'Go', 'cm_refresh_patterns': ['\\.'], 'word_pattern': '[\\w/]+', 'enable': True, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_gocode', 'events': []}, 'sort': 1, 'scopes': ['go'], 'name': 'cm-gocode', 'cm_refresh_length': 3, 'auto_popup': 1, 'scoping': True, 'priority': 9}, 'cm-keyword-continue': {'early_cache': 0, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_keyword_continue', 'events': []}, 'sort': 0, 'name': 'cm-keyword-continue', 'cm_refresh_length': 0, 'abbreviation': '', 'word_pattern': '\\w+', 'enable': True, 'auto_popup': 0, 'priority': 5}, 'cm-bufkeyword': {'channel': {'type': 'python3', 'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter']}, 'early_cache': 0, 'name': 'cm-bufkeyword', 'cm_refresh_length': 4, 'abbreviation': 'Key', 'auto_popup': 1, 'enable': True, 'sort': 1, 'priority': 5}, 'cm-tags': {'channel': {'type': 'python3', 'module': 'cm_sources.cm_tags', 'events': ['WinEnter']}, 'early_cache': 0, 'name': 'cm-tags', 'cm_refresh_length': 4, 'abbreviation': 'Tag', 'auto_popup': 1, 'enable': True, 'sort': 1, 'priority': 6}, 'cm-filepath': {'early_cache': 0, 'abbreviation': 'path', 'cm_refresh_patterns': ['(\\.[/\\\\]+|[a-zA-Z]:\\\\+|~\\/+)', '([^\\W]|[-.~%$]|[/\\\\])+[/\\\\]+'], 'word_pattern': '([^\\W]|[-.~%$])+', 'enable': True, 'channel': {'type': 'python3', 'module': 'cm_sources.cm_filepath', 'events': []}, 'sort': 0, 'name': 'cm-filepath', 'cm_refresh_length': 4, 'auto_popup': 1, 'options': {'path_pattern': '(([^\\W]|[-.~%$]|[/\\\\])+)'}, 'priority': 6}, 'cm-css': {'early_cache': 0, 'abbreviation': 'css', 'cm_refresh_patterns': ['[\\w\\-]+\\s*:\\s+'], 'word_pattern': '[\\w\\-]+', 'enable': 1, 'sort': 1, 'scopes': ['css', 'scss'], 'name': 'cm-css', 'cm_refresh_length': 3, 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'}, 'auto_popup': 1, 'scoping': 1, 'priority': 9}, 'cm-jedi': {'early_cache': 0, 'abbreviation': 'Py', 'cm_refresh_patterns': ['^(import|from).*\\s', '\\.', '\\(\\s?', ',\\s?'], 'enable': True, 'channel': {'type': 'python3', 'multi_thread': 0, 'module': 'cm_sources.cm_jedi', 'events': []}, 'sort': 1, 'scopes': ['python'], 'name': 'cm-jedi', 'cm_refresh_length': 3, 'auto_popup': 1, 'scoping': True, 'priority': 9}, 'cm-tmux': {'channel': {'type': 'python3', 'module': 'cm_sources.cm_tmux', 'events': ['CursorHold', 'CursorHoldI', 'FocusGained', 'BufEnter']}, 'early_cache': 0, 'name': 'cm-tmux', 'cm_refresh_length': 4, 'abbreviation': 'Tmux', 'auto_popup': 1, 'enable': False, 'sort': 1, 'priority': 4}}, {'filepath': '', 'bufnr': 1, 'curpos': [0, 1, 1, 0, 1], 'col': 1, 'lnum': 1, 'typed': '', 'changedtick': 2, 'filetype': ''}]
2017-10-18 18:30:28,563 [DEBUG @ cm.py:on_notification:265] 3437 - core method cm_start_channels completed
2017-10-18 18:30:28,581 [INFO @ cm_bufkeyword.py:refresh_keyword:35] 3437 - refreshing_keyword, word_pattern [(-?\d*\.\d\w*)|([^\`\~\!\@\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)]
2017-10-18 18:30:28,581 [INFO @ cm.py:start_and_run_channel:223] 3437 - <cm-filepath> handler created, entering event loop
2017-10-18 18:30:28,581 [INFO @ cm.py:start_and_run_channel:223] 3437 - <cm-keyword-continue> handler created, entering event loop
2017-10-18 18:30:28,581 [INFO @ cm.py:start_and_run_channel:275] 3437 - <cm-filepath> entering event loop
2017-10-18 18:30:28,581 [INFO @ cm.py:start_and_run_channel:275] 3437 - <cm-keyword-continue> entering event loop
2017-10-18 18:30:28,581 [DEBUG @ cm.py:on_notification:248] 3437 - channel method: cm_setup, args: []
2017-10-18 18:30:28,582 [DEBUG @ cm.py:on_notification:248] 3437 - channel method: cm_setup, args: []
2017-10-18 18:30:28,582 [INFO @ cm.py:on_notification:261] 3437 - method: cm_setup not implemented, ignore this message
2017-10-18 18:30:28,582 [INFO @ cm.py:on_notification:261] 3437 - method: cm_setup not implemented, ignore this message
2017-10-18 18:30:28,583 [INFO @ cm_bufkeyword.py:refresh_keyword:47] 3437 - keyword refresh begin, current count: 0
2017-10-18 18:30:28,584 [INFO @ cm.py:start_and_run_channel:223] 3437 - <cm-tags> handler created, entering event loop
2017-10-18 18:30:28,584 [INFO @ cm.py:start_and_run_channel:275] 3437 - <cm-tags> entering event loop
2017-10-18 18:30:28,584 [DEBUG @ cm.py:on_notification:248] 3437 - channel method: cm_setup, args: []
2017-10-18 18:30:28,584 [INFO @ cm.py:on_notification:261] 3437 - method: cm_setup not implemented, ignore this message
2017-10-18 18:30:28,585 [INFO @ cm_bufkeyword.py:refresh_keyword:70] 3437 - keyword refresh complete, count: 0
2017-10-18 18:30:28,585 [INFO @ cm.py:start_and_run_channel:223] 3437 - <cm-bufkeyword> handler created, entering event loop
2017-10-18 18:30:28,585 [INFO @ cm.py:start_and_run_channel:275] 3437 - <cm-bufkeyword> entering event loop
2017-10-18 18:30:28,585 [DEBUG @ cm.py:on_notification:248] 3437 - channel method: cm_setup, args: []
2017-10-18 18:30:28,585 [INFO @ cm.py:on_notification:261] 3437 - method: cm_setup not implemented, ignore this message
2017-10-18 18:30:31,414 [INFO @ cm_core.py:cm_shutdown:731] 3437 - join <cm-tags> thread
2017-10-18 18:30:31,415 [INFO @ cm_core.py:cm_shutdown:733] 3437 - success join <cm-tags> thread
2017-10-18 18:30:31,415 [INFO @ cm_core.py:cm_shutdown:731] 3437 - join <cm-filepath> thread
2017-10-18 18:30:31,415 [INFO @ cm_core.py:cm_shutdown:733] 3437 - success join <cm-filepath> thread
2017-10-18 18:30:31,416 [INFO @ cm_core.py:cm_shutdown:731] 3437 - join <cm-keyword-continue> thread
2017-10-18 18:30:31,416 [INFO @ cm_core.py:cm_shutdown:733] 3437 - success join <cm-keyword-continue> thread
2017-10-18 18:30:31,416 [INFO @ cm_core.py:cm_shutdown:731] 3437 - join <cm-bufkeyword> thread
2017-10-18 18:30:31,416 [INFO @ cm_core.py:cm_shutdown:733] 3437 - success join <cm-bufkeyword> thread
roxma commented 6 years ago

Is that message triggered after you press :q on an buffer?

Or is that triggered by an autocmd which executes exit?

the-c0d3r commented 6 years ago

I believe it is after pressing :q on a buffer, doesn't matter if file is opened or empty buffer. I just checked my vimrc, there is no autocmd mapped for exit.

roxma commented 6 years ago

Normally this message is for indicating NCM is not working.

When exiting, NCM will know it's normal shutdown by autocmd VimLeavePre * let s:leaving=1, the s:leaving will supress the message.

If the message is shown, it means the autocmd is somehow not working.

the-c0d3r commented 6 years ago

Hmm... the autocomplete function is working for me. It's just showing that message. Is there any other way to suppress the message?

roxma commented 6 years ago

You could comment https://github.com/roxma/nvim-completion-manager/blob/6eff8ba5faa561a2929e157be1e1a091e58ad8ad/autoload/cm.vim#L445 for now.

I'll look into this.

roxma commented 6 years ago

Could you reproduce this with a minimal vimrc?

What system are you using?

the-c0d3r commented 6 years ago

I just tested. It seems like it's not reproducible with a minimal vimrc (only containing neovim complete manager plugin). Then I think it means there's something wrong with my vimrc that overwrites the autocmd. But as far as I can see, all autocmd doens't use VimExit, only VimEnter, and my vimrc only calls a function to clear whitespace on save.

roxma commented 6 years ago

hmm...

You could check the list of registered autocmd by :autocmd VimLeavePre

the-c0d3r commented 6 years ago

I didn't know you could check that. Thanks. Anyway, Seems like I do have a few autocmd mapped to VimLeavePre, it's done by some plugins. I've attached the image, is there a way to make it work? image

roxma commented 6 years ago

I've pushed an update. Please test the latest version.

If it's still not working, use this config to enable more verbose logging.

let $NVIM_PYTHON_LOG_FILE="/tmp/nvim_log"
let $NVIM_NCM_LOG_LEVEL="DEBUG"
let $NVIM_NCM_MULTI_THREAD=0
let $NVIM_PYTHON_LOG_LEVEL="DEBUG"
the-c0d3r commented 6 years ago

Thanks a lot. The latest commit solved the problem.

note: not sure if my upgrading of neovim solved it or your update.