Comments (2)
I have a similar problem with the Scala language server (metals). It looks like the problem occurs, whenever the signature of the completed element is followed by something other than a opening paren. In Scala, this includes fields, where the :
separating the type annotation is inserted:
and functions with type parameters (using square brackets), which are inserted up to the first whitespace, dollar sign or completely if none of those occur:
In both cases, the extra symbols are inserted in the buffer, unless confirmed with <CR>
.
The same does not occur, if, in the signature, the name is directly followed by normal parentheses:
Checkhealth:
health#compe#check
========================================================================
## compe:snippet
- OK: snippet engine detected.
## compe:mapping
- OK: `compe#complete` is mapped: (`i <C-Space> * compe#complete()`)
- OK: `compe#confirm` is mapped: (`i <CR> * compe#confirm('<CR>')`)
- OK: `compe#close` is mapped: (`i <C-E> * compe#close('<C-E>')`)
- OK: `compe#scroll` is mapped: (`i <C-D> * compe#scroll({ 'delta': -4 })`)
from nvim-compe.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from nvim-compe.
Related Issues (20)
- Breaking undo history after typing certain characters after completion HOT 1
- Can not get LSP Snippet working HOT 1
- relative path completion fail if not stating with './' HOT 1
- Add the possibility to hide the completion source. HOT 4
- clangd not hiding suggestions after comma or space HOT 3
- Question/Help: LSP Snippet Support Not Working HOT 1
- [Question] Filter completion items by kind, exclude 'Text' items HOT 1
- Documentation syntax highlighting. HOT 5
- attempt to call field 'stylize_markdown' HOT 2
- Custom labels for completion types HOT 2
- FR/Question: Complete on any key HOT 3
- Documentation doesn't pop in completion in some cases HOT 1
- buffer completion should complete words for hidden buffers. HOT 3
- problem with vim-rsi pluggin -- <C-e> HOT 3
- Auto-import doesnโt work with a bunch of LSPs HOT 1
- Buffer Source Completion: diacritic characters are ignored HOT 2
- Triggered in command mode. HOT 2
- Integrate copilot.vim? HOT 2
- No fuzzy completion for [emoji] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim-compe.