Chapter 8: Completion Sources
Chapter Overview
Part IV: IDE Features | Tips 39-43
Where completion candidates come from.
Tips in This Chapter
| Tip | Title | Mastered |
|---|---|---|
39 |
Understand Completion Sources |
[ ] |
40 |
Meet deoplete |
[ ] |
41 |
Configure deoplete Sources |
[ ] |
Completion Sources
| Source | Provides |
|---|---|
Buffer |
Words from current buffer |
Tags |
ctags definitions |
Include |
Words from included files |
Dictionary |
Dictionary words |
Omni |
Language-aware completion |
LSP |
Language Server Protocol |
My Setup: nvim-cmp Sources
-- nvim-cmp sources I use:
-- cmp-nvim-lsp (LSP)
-- cmp-buffer (buffer words)
-- cmp-path (file paths)
-- cmp-luasnip (snippets)
Commands Learned
| Command | Description | Notes |
|---|---|---|
Practice
Commands I tried while reading:
" (Add commands you practiced)
Questions
Things I want to explore further.
Chapter Complete
-
Read entire chapter
-
Understood source concepts
-
Reviewed my nvim-cmp sources
Date completed: _