Skip to content

Commit

Permalink
Use pixi to download clangd/efm
Browse files Browse the repository at this point in the history
  • Loading branch information
JafarAbdi committed Feb 24, 2025
1 parent 49b87cf commit adf8dc5
Show file tree
Hide file tree
Showing 4 changed files with 2,760 additions and 1,223 deletions.
6 changes: 4 additions & 2 deletions neovim/.config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ local servers = {
name = "clangd",
filetypes = { "c", "cpp", "cuda" },
cmd = {
vim.env.HOME .. "/.config/clangd-lsp/bin/clangd",
vim.fs.joinpath(vim.env.HOME, "myconfigs", ".pixi", "envs", "lsps", "bin", "clangd"),
"--completion-style=detailed",
-- "-log=verbose"
},
Expand All @@ -829,7 +829,9 @@ local servers = {
"xml",
"zig",
},
cmd = { "efm-langserver" },
cmd = {
vim.fs.joinpath(vim.env.HOME, "myconfigs", ".pixi", "envs", "lsps", "bin", "efm-langserver"),
},
init_options = function()
return {
documentFormatting = true,
Expand Down
Loading

0 comments on commit adf8dc5

Please sign in to comment.