-
Notifications
You must be signed in to change notification settings - Fork 273
Closed
Description
Hi,
I am struggling with a minor incovenience with completion. It's likely this is actually a feature rather than a bug, I wasn't able to sort it out yet.
Describe the bug
Simply, when I complete a function which has arguments I get explicit placeholders and I couldn't find a way to rewind through them e.g.:
curves.append(${1:object})$0I would expect either no placeholders like in vanilla deoplete or some way to jump through various arguments until all placeholders are gone without leaving Insert mode.
Environment
- neovim/vim version (
nvim --versionorvim --version):
NVIM v0.3.4
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wconversion -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -Wno-array-bounds -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/build/neovim/src/build/config -I/build/neovim/src/neovim-0.3.4/src -I/usr/include -I/build/neovim/src/build/src/nvim/auto -I/build/neovim/src/build/include
Compiled by builduser
Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
- This plugin version (
git rev-parse --short HEAD):ab1644f - This plugin's binary version (
bin/languageclient --version):0.1.140 - Minimal vimrc content (A minimal vimrc is the smallest vimrc that could
reproduce the issue. Refer to an example [here][min-vimrc.vim]):
call plug#begin('~/.config/nvim/mini-python')
Plug 'autozimu/LanguageClient-neovim', {
\ 'branch': 'next',
\ 'do': 'bash install.sh',
\ }
Plug 'Shougo/deoplete.nvim', {
\ 'do': ':UpdateRemotePlugins' }
Plug 'zchee/deoplete-jedi'
call plug#end()
let g:deoplete#enable_at_startup = 1
let g:LanguageClient_serverCommands = {
\ 'python': ['/usr/bin/pyls'],
\ }
let $RUST_BACKTRACE = 1
let g:LanguageClient_loggingLevel = 'INFO'
let g:LanguageClient_loggingFile = expand('~/.local/share/nvim/LanguageClient.log')
let g:LanguageClient_serverStderr = expand('~/.local/share/nvim/LanguageServer.log')
- Language server link and version:
python-language-server==0.23.2
To Reproduce
- Create/Fetch example project ...
- Start vim,
nvim -u min-vimrc.vim... - Edit
my_list = [1, 2, 3]
my_list.app<Tab>
## Current behavior
As above, I get function name and placeholders.
## Expected behavior
Either suppress placeholders or a way to navigate and fill them without leaving Insert mode.Metadata
Metadata
Assignees
Labels
No labels