tm_tuyu_fy3
@tm_tuyu_fy3

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

vim-lspに関するエラー

解決したいこと

vim初心者です。neovimにddc.vimを入れ、vim-lspを動作させたいのですが、[ddc] source is too old: "vim-lsp"というエラーが出ます。:PlugUpdateは試しました。ちなみに、ddc-source-aroundは動作しています。以下は、プラグイン関連の設定です。

	let g:denops#deno = 'C:\Users\cs23047\.deno\bin\deno.exe'

	call plug#begin()

		Plug 'tpope/vim-surround'
		Plug 'cohama/lexima.vim'

		Plug 'vim-denops/denops.vim'
		Plug 'Shougo/ddc.vim'
		Plug 'Shougo/ddc-ui-native'
		Plug 'Shougo/ddc-source-around'
		Plug 'Shougo/ddc-matcher_head'
		Plug 'Shougo/ddc-sorter_rank'
		Plug 'Shougo/ddc-source-lsp'
		Plug 'Shougo/ddc-source-vim-lsp'
		Plug 'Shougo/ddc-converter_remove_overlap'
		Plug 'LumaKernel/ddc-file'
		Plug 'mattn/vim-lsp-settings'
		Plug 'prabirshrestha/vim-lsp'

	call plug#end()

	call plug#('vim-denops/denops.vim')
	call plug#('Shougo/ddc.vim')
	call plug#('Shougo/ddc-ui-native')
	call plug#('Shougo/ddc-source-around')
	call plug#('Shougo/ddc-matcher_head')
	call plug#('Shougo/ddc-sorter_rank')
	call plug#('Shougo/ddc-source-lsp')
	call plug#('Shougo/ddc-source-vim-lsp')
	call plug#('Shougo/ddc-converter_remove_overlap')
	call plug#('LumaKernel/ddc-file')
	call plug#('mattn/vim-lsp-settings')
	call plug#('prabirshrestha/vim-lsp')

	call ddc#custom#patch_global('ui', 'native')
	call ddc#custom#patch_global('sources', [
		\ 'around',
		\ 'vim-lsp',
		\ 'file',
		\ ])
	call ddc#custom#patch_global('sourceOptions', {
		\ '_': #{
		\   matchers: ['matcher_head'],
		\   sorters: ['sorter_rank'],
		\   converters: ['converter_remove_overlap'],
		\ },
		\ 'around': #{
		\   mark: 'a',
		\ },
		\ 'vim-lsp': #{
		\   mark: 'LSP', 
		\   matchers: ['matcher_head'],
		\   forceCompletionPattern: '\.|:|->|"\w+/*',
		\ },
		\ 'file': #{
		\   mark: 'f',
		\   isVolatile: v:true, 
		\   forceCompletionPattern: '\S/\S*',
		\ }})
	call ddc#enable()
0

No Answers yet.

Your answer might help someone💌