Fall Back to Basic/Built-In Autocomplete When No Language Server? #345
Replies: 1 comment
-
Whoops, actually the exact cmp source I needed was described right in the docs! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I use lsp-zero and nvim-cmp as recommended in the docs. I enjoy
Ctrl+N
autocomplete when I am working on a filetype for which I have a language server installed. However, when I work on a file like markdown, for which I do not have a language server installed, I wish that I had the old-school basic/built-in autocomplete functionality ofCtrl+N
, however it doesn't seem to work or do anything anymore.Is it possible to configure this?
Here is the top of my
~/.vimrc
...and here's top of my
~/.config/nvim/init.lua
...Response to my discussion in nvim-cmp suggests it may be possible with cmp-buffer and cmp-path.
I have noticed removing this below section does bring old-school basic/built-in autocomplete functionality of
Ctrl+N
back.Beta Was this translation helpful? Give feedback.
All reactions