Kacper Marzecki 1db815d481 asd
2026-02-16 09:42:46 +01:00

59 lines
1.6 KiB
Lua

-- vim.lsp.config["elixir-ls"] = {
-- cmd = { "elixir-ls" },
-- filetypes = { "elixir", "eelixir", "heex" },
-- root_markers = { "mix.exs", ".git" },
-- }
-- vim.lsp.enable("elixir-ls")
-- vim.lsp.config["deno"] = {
-- cmd = { "deno", "lsp" },
-- filetypes = { "javascript", "typescript" },
-- root_markers = { "deno.json" },
-- }
-- vim.lsp.enable("deno")
-- vim.lsp.config["R"] = {
-- cmd = { "/opt/homebrew/bin/R", "--no-echo", "-e", "languageserver::run()" },
-- filetypes = { "r" },
-- }
-- vim.lsp.enable("R")
--
vim.lsp.config["uiua"] = {
cmd = { "uiua", "lsp" },
filetypes = { "uiua", "*.ua" },
}
vim.lsp.enable("uiua")
-- CUSTOM LSP's
-- vim.api.nvim_create_autocmd("FileType", {
-- pattern = { "elixir", "typescript", "json" },
-- callback = function()
-- vim.lsp.start({
-- name = "hhn_lsp",
-- cmd = { vim.env.HOME .. "/git/hhn_lsp/bin/hhn_lsp" },
-- root_dir = vim.fs.dirname(vim.fs.find({ ".git" }, { upward = true })[1]),
-- })
-- end,
-- })
if kx_custom and vim.loop.os_uname().sysname == "Linux" then
vim.lsp.config["alsp"] = {
cmd = { "alsp" },
filetypes = { "elixir", "heex", "elixirscript" },
root_markers = { "mix.exs", ".git" },
}
vim.lsp.enable("alsp")
vim.api.nvim_create_autocmd("BufEnter", {
pattern = { "*.ae" },
callback = function()
print("INITIALIZING LSPROXY")
vim.lsp.start({
name = "zxcv",
cmd = { "/home/omnissiah/git/lsproxy/transls" },
-- root_dir = vim.fs.dirname(vim.fs.find({ ".git" }, { upward = true })[1]),
})
end,
})
end
return {}