Compare commits

...

3 commits

Author SHA1 Message Date
cde2fb12f1 chore: update lazy plugins 2025-09-01 07:04:43 +02:00
c00d5b0b15 feat(lsp): switch to official Elixir LSP 2025-09-01 07:04:38 +02:00
df89a338ec feat(theme): bold URLs 2025-09-01 07:04:09 +02:00
3 changed files with 11 additions and 24 deletions

View file

@ -1,6 +1,6 @@
{
"aerial.nvim": { "branch": "master", "commit": "6ab1a0ce4874d21610fc5a67a6c82c7b943c635b" },
"blink-cmp-git": { "branch": "master", "commit": "a820245eb0e5cb44ed0c27c63a41d90635b39e0e" },
"aerial.nvim": { "branch": "master", "commit": "c7cbbad40c2065fccfd1f1863bb2c08180c0533d" },
"blink-cmp-git": { "branch": "master", "commit": "4c1e2581c01189e04fc175cca27c5cebff447514" },
"blink.cmp": { "branch": "main", "commit": "bae4bae0eedd1fa55f34b685862e94a222d5c6f8" },
"catppuccin": { "branch": "main", "commit": "cb5665990a797b102715188e73c44c3931b3b42e" },
"ccc.nvim": { "branch": "main", "commit": "9d1a256e006decc574789dfc7d628ca11644d4c2" },
@ -13,13 +13,13 @@
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
"lualine.nvim": { "branch": "master", "commit": "b8c23159c0161f4b89196f74ee3a6d02cdc3a955" },
"mason.nvim": { "branch": "main", "commit": "197f6352c276bbc2d25541dfce00ec50d1a4e88f" },
"mini.nvim": { "branch": "main", "commit": "dee23b41ba27bd583f1d19e199738f3bd0236648" },
"mini.nvim": { "branch": "main", "commit": "ddb70da6ec6aa896cfde87350d1e8dffb57ddef0" },
"newpaper.nvim": { "branch": "main", "commit": "d8f2a29001f795a59e4f28713427c200c15449ea" },
"nvim-lint": { "branch": "master", "commit": "ee04d481d4e6089892c2fb2ad8924b1a053591e1" },
"nvim-lint": { "branch": "master", "commit": "f126af5345c7472e9a0cdbe1d1a29209be72c4c4" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-treesitter-context": { "branch": "master", "commit": "dca8726fea2c14e1ce6adbaa76a04816fbfaff61" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "71385f191ec06ffc60e80e6b0c9a9d5daed4824c" },
"nvim-web-devicons": { "branch": "master", "commit": "4ae47f4fb18e85b80e84b729974fe65483b06aaf" },
"nvim-web-devicons": { "branch": "master", "commit": "f66cdfef5e84112045b9ebc3119fee9bddb3c687" },
"oil.nvim": { "branch": "master", "commit": "07f80ad645895af849a597d1cac897059d89b686" },
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
"pomo.nvim": { "branch": "main", "commit": "7e06e5221d8d1e596a0ab29dd4d7fcee5f3cd05a" },

View file

@ -1,22 +1,7 @@
---@type vim.lsp.Config
--- 'root_dir' is chosen like this:
--- if two or more directories containing `mix.exs` were found when searching
--- directories upward, the second one (higher up) is chosen, with the
--- assumption that it is the root of an umbrella app. Otherwise the directory
--- containing the single mix.exs that was found is chosen.
--- https://github.com/elixir-lang/expert/blob/main/pages/installation.md#neovim
return {
-- cmd when installing with Mason
-- Had to install elixir and asdf (homebrew)
-- Then ran `mix local.hex` to upgrade Hex
cmd = { vim.env.HOME .. "/.local/share/nvim/mason/packages/elixir-ls/language_server.sh" },
-- cmd = { "/Users/oliver.ladner/.local/share/nvim/mason/packages/elixir-ls/language_server.sh" },
filetypes = { "elixir", "eelixir", "heex", "surface" },
root_dir = function(bufnr, on_dir)
local fname = vim.api.nvim_buf_get_name(bufnr)
local matches = vim.fs.find({ "mix.exs" }, { upward = true, limit = 2, path = fname })
local child_or_root_path, maybe_umbrella_path = unpack(matches)
local root_dir = vim.fs.dirname(maybe_umbrella_path or child_or_root_path)
on_dir(root_dir)
end,
root_markers = { "mix.exs", ".git" },
cmd = { "expert" },
}

View file

@ -24,8 +24,10 @@ return {
italic = false,
},
highlight_groups = {
-- Get identifier with `:Inspect` while hovering over word
Comment = { italic = true },
["@function"] = { italic = true },
-- ["@function"] = { italic = true },
["@string.special.url"] = { bold = true },
-- TelescopeResultsNormal = { fg = "subtle", bg = "none" },
TelescopeBorder = { fg = "overlay", bg = "overlay" },