Closed nabezokodaikon closed 3 years ago
Note: This is not deoplete problem. It is just deoplete-lsp problem.
You can configure input_pattern
.
call deoplete#custom#source('lsp', 'input_pattern', '[a-zA-Z_]\w*$')
Note: This is not deoplete problem. It is just deoplete-lsp problem.
I made a mistake again. sorry.
You can configure
input_pattern
.call deoplete#custom#source('lsp', 'input_pattern', '[a-zA-Z_]\w*$')
it is complete. Thank you for teaching me.
lsp source checks all inputs unfortunately.
I see.
Problems summary
After typing a semicolon at the end, a completion popup appears.
Expected
I don't want the completion popup to appear after I type a semicolon at the end.
Environment Information
deoplete version (SHA1): fc928a62d513ba2e27f83a63600747dde7aa5d65
OS: Mac
neovim/Vim
:version
output: NVIM v0.5.0-dev+nightly-605-g6b7cc45c4:checkhealth
or:CheckHealth
result(neovim only): OKProvide a minimal init.vim/vimrc with less than 50 lines (Required!)
How to reproduce the problem from neovim/Vim startup (Required!)
$ mkdir -p issue/src
$ cd issue
$ yarn init -y
$ yarn add --dev typescript
$ yarn add --dev @types/node
$ ./node_modules/.bin/tsc --init --rootDir src --outDir dist --esModuleInterop --resolveJsonModule --lib es6,dom --module commonjs
$ touch src/index.ts
$ nvim src/index.ts
Screenshot (if possible)