fix(nvim): config

This commit is contained in:
Marvin Drescher
2024-01-24 10:53:39 +01:00
parent 272d92a681
commit ffa62aedfd
3 changed files with 4 additions and 1 deletions

View File

@@ -99,12 +99,14 @@ vim.cmd(':set winhighlight=' .. cmp.config.window.bordered().winhighlight)
-- Setup language servers.
local lspconfig = require('lspconfig')
local deps = require("nvim-deps")
-- deps.typescript-language-server_path
lspconfig.tsserver.setup({
cmd = {
(deps["typescript-language-server_path"] ..
"/bin/typescript-language-server"), "--stdio"
}
})
-- deps.clang-tools_path
lspconfig.clangd.setup({cmd = {(deps["clang-tools_path"] .. "/bin/clangd")}})
lspconfig.bashls.setup({
cmd = {(deps["bash-language-server_path"] .. "/bin/bash-language-server")}