Comments (9)
@aca @seblj I've implemented the option.
cmp.setup {
preselect = cmp.PreselectMode.None
}
from nvim-cmp.
Its' easy but I'm worried about configuration schema.
I'm now considering the following signature.
cmp.setup {
preselect = cmp.Preselect.{Enabled,Disabled}
}
from nvim-cmp.
That would be totally ok for me at least
from nvim-cmp.
I've categorized the configuration schema like completion
/confirmation
/sorting
/formatting
.
The preselect
can't be contained in such categories. I will give up to consider it.
from nvim-cmp.
So preselect will be a separate category?
from nvim-cmp.
I can't think of a new category. Therefore, as it is, preselect = cmp.Preselect. Add {Enabled, Disabled}
.
(google translated)
from nvim-cmp.
I would be okay with that, but I would also think that it could fit into the category completion
? Maybe I am misunderstanding, but I think that would make sense?
from nvim-cmp.
Hm... I have no confidence about it is completion
.
So I might add preselect
configuration. We can change it later.... (maybe... it will be breaking change but can show an error message at that time)
from nvim-cmp.
yeah that would be ok for me. just show an error message to inform the user so it's an easy change
from nvim-cmp.
Related Issues (20)
- Using the buffer plugin more than once with different options doesn't work
- [Help] how to scroll up in second popup menue HOT 4
- PmenuSbar and PmenuThumb highlights are not customisable! HOT 5
- Snippet source shows up in preview before confirming HOT 10
- Mapped confirm character breaks completion
- explain contextreason better in the docs
- command line completion appends unwanted forward slash HOT 1
- How to change the cmp source HOT 2
- Some information is put in formatting field "menu", which doesn't get truncated by maxwidth HOT 1
- nvim cmp breaks completion on input function HOT 1
- cmp:visible() is slow when typing due to onetime config
- suggestion: add "type checking" for sources
- Extra TS text appearing when doing cmp.mapping.select_next_item() HOT 4
- There's some extra `${}` text inserted when selecting first item HOT 1
- Mapping Enter or Shift-Enter does not work as expected HOT 2
- cmdline completion runs git commands resulting in many passphrase popups
- Selection cursor doesn't appear at the top of the autocompletion list for gopls HOT 3
- Please consider not using global variables HOT 4
- Documentation window obstructs suggestions window when suggestions window is too wide. HOT 1
- Fallback actions in `c` mode might be bugged for `Esc` HOT 2
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-cmp.