Skip to content

I want to suppress warning messages.  #96

Description

@nabezokodaikon

Problems summary

A warning message is displayed.

Expected

I want to suppress warning messages.

Environment Information

  • nvim-lsp version (SHA1): 7a15a52

  • deoplete-lsp version (SHA1): 7a8c44f423bc4339c092a759abaad40131d2c98a

  • deoplete version (SHA1): 5be25591770c5abc7214e8899c4d451c479ac2ec

  • OS: Mac

  • neovim/Vim :version output: NVIM v0.5.0-316-g8fe0635e7

Plugins and settings

[[plugins]]	
repo = 'Shougo/deoplete.nvim'	
hook_add = ''' 	
call deoplete#custom#var('omni', 'input_patterns', {
    \ 'rust': '(\.|::|->)\w',
    \})

call deoplete#custom#option('sources', {
    \ 'rust': ['lsp'],
    \})
   
call deoplete#custom#source('_', 'converters', [
    \ 'converter_remove_paren',
    \ 'converter_remove_overlap',
    \ 'matcher_length',
    \ 'converter_truncate_abbr',
    \ 'converter_truncate_info',
    \ 'converter_truncate_menu',
    \ 'converter_auto_delimiter',
    \])

set completeopt-=preview

call deoplete#enable()	
'''

[[plugins]]
repo = 'Shougo/deoplete-lsp'	

[[plugins]]
repo = 'neovim/nvim-lsp'
hook_add = '''
    command! Scratch lua require'lsp'.makeScratch()
'''

.config/nvim/lua/lsp.lua

-- 
local api = vim.api
local M = {}
function M.makeScratch()
    require'nvim_lsp'.rls.setup{}
end
return M

How to reproduce the problem from neovim startup

  1. $ cargo new issue-rust
  2. $ cd issue-rust
  3. $ nvim
  4. :Scratch
  5. :e src/main.rs
  6. Type appropriately

スクリーンショット 2020-01-18 15 03 51

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Fields

    Effort

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions