Comments (5)
I am using local capabilities = require('cmp_nvim_lsp').default_capabilities()
for now tho I was confused bcz the two examples in https://github.com/hrsh7th/nvim-cmp/wiki/Language-Server-Specific-Samples did it in two different ways
from nvim-cmp.
If you actually try using update_capabilities
you are greeted with a deprecation message pointing to default_capabilities
as its successor. Does that answer your question?
from nvim-cmp.
Probably local capabilities = require('cmp_nvim_lsp').default_capabilities()
because I've only seen people use that and it seems to work just fine
from nvim-cmp.
@hrsh7th This was closed but I am still not sure of the answer.
from nvim-cmp.
@QuantenToast Thanks for that. I guess examples need to be updated and reflect that
from nvim-cmp.
Related Issues (20)
- vim.tbl_add_reverse_lookup is deprecated HOT 4
- please make the lowest sponsoring tier as low as $2 HOT 1
- Completion for tailwind language server has some delay, but it is works fine in other programming languages HOT 2
- nvim_get_option_value calls break compatibility with neovim 0.7
- Hover documentation border will not work HOT 4
- auto completion change to manual completion occasionally HOT 2
- error when using completion with gopls language server in neovim 0.10.0
- how to config vsnip with native nvim-jdtls
- How to disable background transport HOT 5
- matcher issue HOT 1
- Markdown stylization of completion documentation throws error (pylsp)
- No actions can be done to the autocomplete window when opened HOT 4
- disallow_prefix_unmatching not working consistently with jdtls language server HOT 5
- Completion tips are returned in a different order from the `lsp` service.
- Custom Entries Error after 'get-selected' api HOT 8
- Navigation through code completion does not work anymore HOT 10
- cmp.select_next_item() gets error "attempt to perform arithmetic on local 'cursor' HOT 5
- When attempting to navigate suggestion list getting E5108 Error executing lua: .../custom_entries_view.lua:328: attempt to perform arithmetic on local 'cursor' (a nil value) HOT 3
- GLFW_PROFILE doesn't match GLFW_OPENGL_PROFILE but it does when we write GLFW_OP first
- Update "Advanced techniques" in the Wiki 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-cmp.