Comments (2)
Hey! I don't use it personally but after taking a quick look at the README I assume you need to decorate the options passed to lspconfig's setup()
function, which I imagine would look something like this:
lsp_installer.on_server_ready(function (server)
local opts = {}
...
opts.capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
server:setup(opts) -- this :setup() function is exactly[1] the same as lspconfig's setup() function
end)
-- [1] technically not _exactly_ the same, but the signature and behavior is
from nvim-lsp-installer.
yes exactly :)
issue was i need to pass capabilities to lsp setup, but since your api is a bit different, wanted to make sure i pass capabilities right.
thank you again ! <3
from nvim-lsp-installer.
Related Issues (20)
- Update Command HOT 1
- :LspInfo after installing hls throws error HOT 1
- install elixir-lsp from .zip break autocomplete HOT 3
- Spawning language server with cmd: `a-language-server` failed. The language server is either not installed, missing from PATH, or not executable. HOT 12
- Can't seem to install some servers on wsl (under win 10) HOT 1
- Installation UI not show on MacOS and WSL HOT 4
- configurable jvm_args & workspace for jdtls server HOT 2
- An error reported when nvim starts, seems to try to install the server which not configured. HOT 3
- error downloading arduino-language-server HOT 1
- [New server]: terraform_lsp HOT 1
- [New server]: Veridian HOT 1
- [New server]: typeprof HOT 1
- When I install and use ccls, and do :LspInfo, will error. HOT 1
- Config not enhanced for automatically installed servers on first install HOT 5
- An error reported while installing theme_check lsp
- Read this: Project Status
- jdtls require java17(JAVA_HOME conflict)
- Adding GDScript LSP into the installer list
- [New server]: Odin Language Server HOT 1
- zls release filename change
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-lsp-installer.