Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Connect with many developers from the small plugin
Search
Toshikazu Ohashi
November 03, 2019
Programming
0
240
Connect with many developers from the small plugin
VimConf2019 Lightning talk
Toshikazu Ohashi
November 03, 2019
Tweet
Share
More Decks by Toshikazu Ohashi
See All by Toshikazu Ohashi
黒画面が最高のしごと道具である3つの理由
lighttiger2505
0
130
Golangで作るSQL Language Server(sqls)
lighttiger2505
1
600
作ってわかる現代のVimのAutoComplete ~そしてVimConf2019へ~
lighttiger2505
3
1.4k
自社サービスのDjangoを 1.3から1.11(LTS)に アップグレードするまでの道のり
lighttiger2505
6
3.1k
LSPがもたらしたVimプラグインの変化に思いを馳せる
lighttiger2505
2
1.2k
ターミナルアプリケーションとしてのVim
lighttiger2505
0
460
Go Language Server 使うべし
lighttiger2505
5
1.8k
Goで作るインタラクティブなCLIコマンドとそのデザイン
lighttiger2505
0
630
GUI is not fast enough!! (GUIには速さが足りないっ!!)
lighttiger2505
0
460
Other Decks in Programming
See All in Programming
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
170
educure_カリキュラム生操作マニュアル.pdf
linew_official
0
810
SIMD Parallel Programming with the Vector API
josepaumard
0
180
"config" ってなんだ? / What is "config"?
okashoi
0
240
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
43
19k
VS Code をプロダクトにどう取り込むか
onomax
1
370
二郎系ラーメンのコールで学ぶ AST 解析
memory1994
PRO
7
1.7k
Node.js v22 で変わること
yosuke_furukawa
PRO
9
3.5k
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
140
コーンフレークから始める モデリング会話入門
ogurotakayuki
0
370
効率化に挑戦してみたらモバイル開発が少し快適になった話
ryunakayama
0
130
エンターテイメント業界で利用されるAWS
demuyan
0
210
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
422
63k
Fireside Chat
paigeccino
21
2.6k
Code Reviewing Like a Champion
maltzj
514
39k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
227
16k
Faster Mobile Websites
deanohume
299
30k
The Invisible Customer
myddelton
114
12k
The Illustrated Children's Guide to Kubernetes
chrisshort
31
46k
The Art of Programming - Codeland 2020
erikaheidi
42
12k
Rails Girls Zürich Keynote
gr2m
91
13k
Debugging Ruby Performance
tmm1
70
11k
Build The Right Thing And Hit Your Dates
maggiecrowley
24
2k
Creatively Recalculating Your Daily Design Routine
revolveconf
210
11k
Transcript
Connect with many developers from the small plugin VimConf 2019
Lightning Talk @lighttiger2505
deoplete-vim-lsp • Completion source for deoplete.nvim • Get a completion
candidate from language server via vim-lsp
Demo
It's a small plugin • deoplete-vim-lsp is small amount of
source code • Python: 175 step • Vim script: 32 step
Big developer experience • Suppurt completion all languages • Required
language server • High performance completion • Heavy processing is executed asynchronously
Why ? I only write a little code
The answer is in the architecture of deoplete-vim-lsp
Archtecture deoplete-vim-lsp (Request completion) NeoVim deoplete.nvim deoplete-vim-lsp vim-lsp Language Server
TextChange call getter_candidates() call lsp#send_request() textDocument/ Completion
deoplete-vim-lsp NeoVim deoplete.nvim vim-lsp Language Server Archtecture deoplete-vim-lsp (Receive completion
candidate) call complete() call deoplete#auto_complete() call handle_completion() response
Meny depends • deoplete-vim-lsp dose not work alone • Completion
Management • deoplete.nvim • Language Server Client • vim-lsp
Feel so a connection with the developers • If any
of these are missing deoplete-vim-lsp does not exist • I have noticed that you are supported by many developers • Everything was connected !!!
Connections Everything started with Vim Vim
Connections NeoVim Vim NeoVim was created with Vim as the
fork. NeoVim had a new feature called remote plugin
Connections NeoVim Vim deoplete.nvim deoplete.nvim was created as completion manager
created by remote plugin
Connections NeoVim Vim deoplete.nvim LSP Langage server protocol(LSP) creates providing
a high level of support for any programming language in any editor.
Connections NeoVim Vim deoplete.nvim LSP vim-lsp vim-lsp was created as
Vim language server client
Connections NeoVim Vim deoplete.nvim LSP vim-lsp deoplete-vim-lsp I created deoplete-vim-lsp
to use vim- lsp completion in deoplete.nvim
Summry • deoplete-vim-lsp is small plugin • Because other plugins
already have the necessary features • I'm helped by the ecosystem of Vim created by the developers
Thanks to all Vim developers
About me • @lighttiger2505 (Toshikazu Ohashi) • Server Side Engineer
(iRidge inc) • Created Many CLI Commands • Created deoplete-vim-lsp