Compare commits

...

25 Commits

Author SHA1 Message Date
b1eb5f2fd4 chore(deps): update dependency lua to v5.4.8 2025-07-22 20:17:37 +00:00
c815282fed feat: remove unused code (#260)
Remove a lot of unused code, related to:

* **Support for older versions of `elixir`**:
  * Remove `openssl` 1.1
  * Remove `elixir-ls` repository
  * Remove script to install pinned versions of `elixir-ls`
* **Unused tools from `mise`**:
   * `aqua:CircleCI-Public/circleci-cli`: This isn't my `ci/cd` service of choice.
   * `aqua:xo/usql`: Even though this is interesting, I mainly interact with the default tooling of the databases.
   * `go:github.com/bloznelis/typioca`: I go for the `tukai` or `ttyper` to improve my keyboard profecience
   * `pipx:vectorcode`: I've never really used it.
     * In this case, I also removed the `neovim` plugin and `mcp` server.
   * `ubi:block/goose`: I go for the `opencode`, or the specialized tools, such as `claude-code` or `gemini-cli`.
   * `ubi:supabase/cli`: I've never really used it.
   * `poetry`: I changed to `uv`.

Reviewed-on: #260
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2025-07-18 13:44:50 +00:00
65f354117c chore(deps): update dependency erlang to v28.0.2 (#261)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [erlang](https://github.com/erlang/otp) | patch | `28.0.1` -> `28.0.2` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODguMyIsInVwZGF0ZWRJblZlciI6IjM5LjE4OC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #261
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-07-18 13:32:27 +00:00
42798bd8f5 chore(deps): update dependency node to v24.4.1 (#259)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [node](https://nodejs.org) ([source](https://github.com/nodejs/node)) | patch | `24.4.0` -> `24.4.1` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODguMyIsInVwZGF0ZWRJblZlciI6IjM5LjE4OC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #259
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-07-18 13:31:45 +00:00
5810aed37d feat: upgrade runtimes in docker and mise (#258)
Upgrade runtimes:

* `docker` from 28.2.2 to 28.3.2
* `docker-compose` from v2.37.1 to v2.38.2
* `neovim` from v0.11.2 to v0.11.3
* `aqua:astral-sh/uv` from 0.7.18 to 0.7.20
* `aqua:aws/aws-cli` from 2.27.47 to 2.27.50
* `aqua:derailed/k9s` from 0.50.6 to 0.50.7
* `aqua:evilmartians/lefthook` from 1.11.14 to 1.12.2
* `aqua:eza-community/eza` from 0.21.6 to 0.22.1
* `aqua:github-cli` from 2.74.2 to 2.75.0
* `aqua:helm/helm` from 3.18.3 to 3.18.4
* `aqua:jj-vcs/jj` from 0.30.0 to 0.31.0
* `aqua:junegunn/fzf` from 0.63.0 to 0.64.0
* `aqua:pnpm/pnpm` from 10.12.4 to 10.13.1
* `npm:@anthropic-ai/claude-code` from 1.0.41 to 1.0.51
* `npm:@google/gemini-cli` from 0.1.9 to 0.1.12
* `pipx:vectorcode` from 0.7.5 to 0.7.8
* `ubi:block/goose` from 1.0.31 to 1.0.35
* `ubi:jdx/usage` from 2.1.1 to 2.2.0
* `ubi:sst/opencode` from 0.1.174 to 0.3.2

Add runtimes:

* `httpie`

Reviewed-on: #258
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2025-07-14 13:42:22 +00:00
18243d53ac chore(deps): update dependency node to v24.4.0 (#257)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [node](https://nodejs.org) ([source](https://github.com/nodejs/node)) | minor | `24.3.0` -> `24.4.0` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODguMyIsInVwZGF0ZWRJblZlciI6IjM5LjE4OC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #257
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-07-09 19:50:46 +00:00
1be7fdad9b chore(deps): update dependency go to v1.24.5 (#256)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [go](https://github.com/golang/go) | patch | `1.24.4` -> `1.24.5` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODguMyIsInVwZGF0ZWRJblZlciI6IjM5LjE4OC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #256
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-07-09 19:48:34 +00:00
7925819b48 chore(deps): update ghcr.io/chroma-core/chroma docker tag to v1.0.15 (#253)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| ghcr.io/chroma-core/chroma | patch | `1.0.13` -> `1.0.15` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODguMyIsInVwZGF0ZWRJblZlciI6IjM5LjE4OC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #253
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-07-03 17:04:56 +00:00
4236d03d18 feat(neovim): improve lsp configuration to use newer setup (#255)
This change is based on the pull request [#1475][0].

Reviewed-on: #255

[0]: https://github.com/nvim-lua/kickstart.nvim/pull/1475
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2025-07-03 17:03:23 +00:00
e6a3064f30 feat: upgrade mise runtimes and neovim/mcphub configuration (#254)
# `mise` changes

Upgraded:

* `aqua:CircleCI-Public/circleci-cli`: from 0.1.32580 to 0.1.32638
* `aqua:alexellis/k3sup`: from 0.13.9 to 0.13.10
* `aqua:astral-sh/uv`: from 0.7.14 to 0.7.18
* `aqua:aws/aws-cli`: from 2.27.41 to 2.27.47
* `aqua:dagger/dagger`: from 0.18.10 to 0.18.12
* `aqua:eza-community/eza`: from 0.21.5 to 0.21.6
* `aqua:junegunn/fzf`: from 0.62.0 to 0.63.0
* `aqua:pnpm/pnpm`: from 10.12.2 to 10.12.4
* `aqua:sbstp/kubie`: from 0.25.2 to 0.26.0
* `npm:@anthropic-ai/claude-code`: from 1.0.31 to 1.0.41
* `pipx:aider-chat`: from 0.84.0 to 0.85.1
* `pipx:vectorcode`: from 0.7.1 to 0.7.5
* `ubi:block/goose`: from 1.0.29 to 1.0.31
* `ubi:sst/opencode`: from 0.1.124 to 0.1.174
* `ubi:supabase/cli`: from 2.26.9 to 2.30.4

Added:

* `npm:@google/gemini-cli`

Removed:

* `yarn`

Enabled `idiomatic_version_file_enable_tools` setting for `go`, `ruby`, and `python` tools.

# `neovim` changes

Added `mcp` servers:

*  `fetch`
* `filesystem`
* `memory`

Updated reference to `gemini` models.

Reviewed-on: #254
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2025-07-03 15:04:34 +00:00
2302e4ca7d chore(deps): update dependency rust to v1.88.0 (#252)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [rust](https://github.com/rust-lang/rust) | minor | `1.87.0` -> `1.88.0` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODguMyIsInVwZGF0ZWRJblZlciI6IjM5LjE4OC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #252
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-06-29 00:35:19 +00:00
d8758554f6 chore(deps): update dependency node to v24.3.0 (#251)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [node](https://nodejs.org) ([source](https://github.com/nodejs/node)) | minor | `24.2.0` -> `24.3.0` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODguMyIsInVwZGF0ZWRJblZlciI6IjM5LjE4OC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #251
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-06-25 23:39:31 +00:00
feda9d1de1 feat: upgrade runtimes (#250)
Upgrade runtimes:

* `aqua:CircleCI-Public/circleci-cli`: from 0.1.32367 to 0.1.32580
* `aqua:astral-sh/uv`: from 0.7.13 to 0.7.14
* `aqua:aws/aws-cli`: from 2.27.40 to 2.27.41
* `aqua:pnpm/pnpm`: from 10.12.1 to 10.12.2
* `pipx:vectorcode`: from 0.7.0 to 0.7.1
* `ubi:sst/opencode`: from 0.1.117 to 0.1.124

Added runtimes:

* `ubi:comtrya/comtrya`

Also, added `Makefile` target to compare host and repository's `mcphub` configuration .

Reviewed-on: #250
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2025-06-24 00:18:32 +00:00
400a7f2488 feat(neovim): improve code generation configuration (#249)
1. Configure local `llm` on `avante`
2. Integrate with `claude-code`
3. Add `serena` `mcp` server

Reviewed-on: #249
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2025-06-23 11:40:10 +00:00
9fe182d987 feat: add makefile targets to compare host and repo configs (#248)
Reviewed-on: #248
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2025-06-22 01:43:21 +00:00
c0234d5ae4 feat: upgrade runtimes (#247)
Upgraded the runtimes:

* `aqua:aws/aws-cli`: from 2.27.35 to 2.27.40
* `aqua:eza-community/eza`: from 0.21.4 to 0.21.5
* `aqua:github-cli`: from 2.74.1 to 2.74.2
* `aqua:helm/helm`: from 3.18.2 to 3.18.3
* `aqua:kubernetes/kubectl`: from 1.33.1 to 1.33.2
* `npm:@anthropic-ai/claude-code`: from 1.0.24 to 1.0.31
* `pipx:vectorcode`: from 0.6.13 to 0.7.0
* `ubi:block/goose`: from 1.0.28 to 1.0.29
* `ubi:supabase/cli`: from 2.24.3 to 2.26.9
* `node`: from 22.16.0 to 24.2.0
* `r`: from 4.5.0 to 4.5.1
* `docker` from 28.1.1 to 28.2.2
* `docker-compose` from 2.36.0 to 2.37.1
* `buildx` from 0.23.0 to 0.25.0
* `neovim` from 0.11.0 to 0.11.2

Added the runtime:

* `ubi:sst/opencode`

Reviewed-on: #247
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2025-06-22 01:40:53 +00:00
82122426f1 chore(deps): update ghcr.io/chroma-core/chroma docker tag to v1.0.13 (#246)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| ghcr.io/chroma-core/chroma | patch | `1.0.12` -> `1.0.13` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODguMyIsInVwZGF0ZWRJblZlciI6IjM5LjE4OC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #246
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-06-20 14:57:16 +00:00
056567e88b feat: upgrade neovim configuration and runtimes (#245)
Upgrade runtimes:

* `aqua:CircleCI-Public/circleci-cli`: from 0.1.32067 to 0.1.32367
* `aqua:astral-sh/uv`: from 0.7.8 to 0.7.13
* `aqua:aws/aws-cli`: from 2.27.23 to 2.27.35
* `aqua:bitwarden/clients` from cli-v2025.2.0 to cli-v2025.5.0
* `aqua:dagger/dagger`: from 0.18.9 to 0.18.10
* `aqua:eksctl-io/eksctl`: from 0.208.0 to 0.210.0
* `aqua:evilmartians/lefthook`: from 1.11.13 to 1.11.14
* `aqua:eza-community/eza`: from 0.21.3 to 0.21.4
* `aqua:github-cli`: from 2.73.0 to 2.74.1
* `aqua:go-task/task`: from 3.43.3 to 3.44.0
* `aqua:hashicorp/terraform`: from 1.12.1 to 1.12.2
* `aqua:helm/helm`: from 3.18.0 to 3.18.2
* `aqua:jj-vcs/jj`: from 0.29.0 to 0.30.0
* `aqua:pnpm/pnpm`: from 10.11.0 to 10.12.1
* `aqua:tilt-dev/tilt`: from 0.34.4 to 0.35.0
* `npm:@anthropic-ai/claude-code`: from 1.0.4 to 1.0.24
* `pipx:aider-chat`: from 0.83.2 to 0.84.0
* `pipx:vectorcode`: from 0.6.9 to 0.6.13
* `ubi:block/goose`: from 1.0.24 to 1.0.28
* `ubi:supabase/cli`: from 2.23.4 to 2.24.3

Upgrade `avante` configuration in `neovim`.

Reviewed-on: #245
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2025-06-17 13:19:19 +00:00
79289c0360 chore(deps): update dependency erlang to v28.0.1 (#244)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [erlang](https://github.com/erlang/otp) | patch | `28.0` -> `28.0.1` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODguMyIsInVwZGF0ZWRJblZlciI6IjM5LjE4OC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #244
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-06-16 16:43:03 +00:00
1b0fed7cf9 chore(deps): update dependency go to v1.24.4 (#243)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [go](https://github.com/golang/go) | patch | `1.24.3` -> `1.24.4` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODguMyIsInVwZGF0ZWRJblZlciI6IjM5LjE4OC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #243
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-06-16 16:31:01 +00:00
ef6dda89ba chore(deps): update dependency python to v3.13.5 (#242)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [python](https://github.com/python/cpython) | patch | `3.13.3` -> `3.13.5` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODguMyIsInVwZGF0ZWRJblZlciI6IjM5LjE4OC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #242
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-06-16 16:30:02 +00:00
124b6e7c3b chore(deps): update ghcr.io/chroma-core/chroma docker tag to v1.0.12 (#241)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| ghcr.io/chroma-core/chroma | patch | `1.0.10` -> `1.0.12` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODguMyIsInVwZGF0ZWRJblZlciI6IjM5LjE4OC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #241
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-06-16 16:27:41 +00:00
d2b37ab393 chore: minor random updates (#240)
* Add `tmuxp` configuration to access local `raspberry pi` cluster
* Configure editor behaviour through `editorconfig`
* Fix format for `24-bit-color` script
* Add volume for `supermaven` data
* Remove the `ANTHROPIC_API_KEY` environment variable

Reviewed-on: #240
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2025-05-28 18:50:24 +00:00
4c1b09a8ab feat(neovim): integrate with tmux using jpalardy/vim-slime (#239)
Move from the unmaintained [`EvWilson/slimux.nvim`](https://github.com/EvWilson/slimux.nvim) to [`jpalardy/vim-slime`](https://github.com/jpalardy/vim-slime).

Reviewed-on: #239
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2025-05-28 18:39:08 +00:00
ba9564ceb9 feat(mise): upgrade runtimes (#238)
* `aqua:CircleCI-Public/circleci-cli`: from 0.1.31687 to 0.1.32067
* `aqua:ajeetdsouza/zoxide`: from 0.9.7 to 0.9.8
* `aqua:alexellis/k3sup`: from 0.13.8 to 0.13.9
* `aqua:astral-sh/uv`: from 0.7.3 to 0.7.8
* `aqua:aws/aws-cli`: from 2.27.13 to 2.27.23
* `aqua:dagger/dagger`: from 0.18.6 to 0.18.9
* `aqua:evilmartians/lefthook`: from 1.11.12 to 1.11.13
* `aqua:github-cli`: from 2.72.0 to 2.73.0
* `aqua:hashicorp/terraform`: from 1.11.4 to 1.12.1
* `aqua:helm/helm`: from 3.17.3 to 3.18.0
* `aqua:kubernetes-sigs/kind`: from 0.27.0 to 0.29.0
* `aqua:kubernetes/kubectl`: from 1.33.0 to 1.33.1
* `aqua:pnpm/pnpm`: from 10.10.0 to 10.11.0
* `aqua:tilt-dev/ctlptl`: from 0.8.40 to 0.8.42
* `aqua:tilt-dev/tilt`: from 0.34.2 to 0.34.4
* `aqua:xo/usql`: from 0.19.23 to 0.19.24
* `npm:@anthropic-ai/claude-code`: from 0.2.108 to 1.0.4
* `pipx:aider-chat`: from 0.83.1 to 0.83.2
* `pipx:vectorcode`: from 0.6.6 to 0.6.9
* `ubi:supabase/cli`: from 2.22.12 to 2.23.4

Reviewed-on: #238
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2025-05-28 18:38:20 +00:00
12 changed files with 300 additions and 232 deletions

28
.editorconfig Normal file
View File

@@ -0,0 +1,28 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[Makefile]
indent_style = tab
indent_size = 4
[*.lua]
indent_style = space
indent_size = 2
quote_style = single
[*.md]
trim_trailing_whitespace = false
max_line_length = 80
[*.sh]
indent_style = tab
indent_size = 4
[*.yml]
indent_style = space
indent_size = 2

View File

@@ -105,16 +105,16 @@ RUN apt-get update \
&& echo 'permit persist :wheel as root' > /etc/doas.conf && echo 'permit persist :wheel as root' > /etc/doas.conf
# command line utilities # command line utilities
ENV DO_VERSION 28.1.1 ENV DO_VERSION 28.3.2
ENV DO_URL https://download.docker.com/linux/static/stable/x86_64/docker-${DO_VERSION}.tgz ENV DO_URL https://download.docker.com/linux/static/stable/x86_64/docker-${DO_VERSION}.tgz
ENV DC_VERSION v2.36.0 ENV DC_VERSION v2.38.2
ENV DC_URL https://github.com/docker/compose/releases/download/${DC_VERSION}/docker-compose-linux-x86_64 ENV DC_URL https://github.com/docker/compose/releases/download/${DC_VERSION}/docker-compose-linux-x86_64
ENV BX_VERSION v0.23.0 ENV BX_VERSION v0.25.0
ENV BX_URL https://github.com/docker/buildx/releases/download/${BX_VERSION}/buildx-${BX_VERSION}.linux-amd64 ENV BX_URL https://github.com/docker/buildx/releases/download/${BX_VERSION}/buildx-${BX_VERSION}.linux-amd64
ENV EXERCISM_VERSION 3.5.4 ENV EXERCISM_VERSION 3.5.4
ENV EXERCISM_FILE exercism-${EXERCISM_VERSION}-linux-x86_64.tar.gz ENV EXERCISM_FILE exercism-${EXERCISM_VERSION}-linux-x86_64.tar.gz
ENV EXERCISM_URL https://github.com/exercism/cli/releases/download/v${EXERCISM_VERSION}/${EXERCISM_FILE} ENV EXERCISM_URL https://github.com/exercism/cli/releases/download/v${EXERCISM_VERSION}/${EXERCISM_FILE}
ENV NVIM_VERSION v0.11.0 ENV NVIM_VERSION v0.11.3
ENV NVIM_FILE nvim-linux-x86_64.tar.gz ENV NVIM_FILE nvim-linux-x86_64.tar.gz
ENV NVIM_URL https://github.com/neovim/neovim/releases/download/${NVIM_VERSION}/${NVIM_FILE} ENV NVIM_URL https://github.com/neovim/neovim/releases/download/${NVIM_VERSION}/${NVIM_FILE}
RUN curl -sS https://starship.rs/install.sh | sh -s -- --yes \ RUN curl -sS https://starship.rs/install.sh | sh -s -- --yes \
@@ -153,24 +153,6 @@ ENV XDG_CACHE_HOME ${HOME}/.cache
ENV STARSHIP_CONFIG ${XDG_CONFIG_HOME}/starship/config.toml ENV STARSHIP_CONFIG ${XDG_CONFIG_HOME}/starship/config.toml
ENV PATH ${LOCAL_BIN_HOME}:$PATH ENV PATH ${LOCAL_BIN_HOME}:$PATH
# NOTE (jpd): the section below exists mainly to handle a project running elixir 1.11.
# It allows the usage of openssl 1.1 and a compatible elixir-ls.
# configure openssl 1.1
# this is needed to compile older erlang versions
# example: KERL_CONFIGURE_OPTIONS="-with-ssl=$HOME/.local/lib/ssl" mise install
RUN mkdir -p ${HOME}/.local/src \
&& cd ${HOME}/.local/src \
&& curl -L https://www.openssl.org/source/openssl-1.1.1m.tar.gz | tar -xz \
&& cd openssl-1.1.1m \
&& ./config --prefix=${HOME}/.local/lib/ssl --openssldir=${HOME}/.local/lib/ssl shared zlib \
&& make \
# && make test \
&& make install
# fetch elixir-ls to install custom releases
RUN git clone https://github.com/elixir-lsp/elixir-ls.git ${LOCAL_SRC_HOME}/elixir-ls
# command line utilities # command line utilities
ENV MISE_ENV_FILE .env ENV MISE_ENV_FILE .env
RUN curl https://mise.jdx.dev/install.sh | sh \ RUN curl https://mise.jdx.dev/install.sh | sh \

View File

@@ -16,6 +16,18 @@ patch_init_lua: ## create a patch file with the changes made in kickstart's init
patch_init_lua_dry_run: ## show the changes made in kickstart's init.lua file patch_init_lua_dry_run: ## show the changes made in kickstart's init.lua file
@cd $(neovim_config_dir) && git diff --patch init.lua @cd $(neovim_config_dir) && git diff --patch init.lua
.PHONY: diff_mcphub_config
diff_mcphub_config: ## compare host's mcphub config with repository's config
@nvim -d ~/.config/mcphub/servers.json ./config/mcphub/servers.json
.PHONY: diff_mise_config
diff_mise_config: ## compare host's mise config with repository's config
@nvim -d ~/.config/mise/config.toml ./config/mise/config.toml
.PHONY: diff_custom_neovim_config
diff_custom_neovim_config: ## compare host's custom neovim config with repository's config
@nvim -d ~/.config/nvim/lua/custom/plugins/init.lua ./config/nvim/lua/custom/plugins/init.lua
.PHONY: help .PHONY: help
help: ## show help message help: ## show help message
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

View File

@@ -7,15 +7,49 @@
"@upstash/context7-mcp@latest" "@upstash/context7-mcp@latest"
] ]
}, },
"fetch": {
"command": "uvx",
"args": [
"mcp-server-fetch"
]
},
"filesystem": {
"command": "pnpm",
"args": [
"dlx",
"@modelcontextprotocol/server-filesystem@latest",
"/opt/personal",
"/opt/work"
]
},
"git": { "git": {
"command": "uvx", "command": "uvx",
"args": [ "args": [
"mcp-server-git" "mcp-server-git"
] ]
}, },
"vectorcode": { "memory": {
"command": "vectorcode-mcp-server", "command": "pnpm",
"args": [] "args": [
"dlx",
"@modelcontextprotocol/server-memory@latest"
]
},
"serena": {
"command": "uvx",
"arg": [
"--from",
"git+https://github.com/oraios/serena",
"serena-mcp-server",
"--transport",
"stdio",
"--enable-web-dashboard",
"False",
"--enable-gui-log-window",
"False",
"--tool-timeout",
"30"
]
} }
} }
} }

View File

@@ -1,58 +1,55 @@
[tools] [tools]
"aqua:BurntSushi/ripgrep" = "14.1.1" "aqua:BurntSushi/ripgrep" = "14.1.1"
"aqua:CircleCI-Public/circleci-cli" = "0.1.31687"
"aqua:FiloSottile/age" = "1.2.1" "aqua:FiloSottile/age" = "1.2.1"
"aqua:ajeetdsouza/zoxide" = "0.9.7" "aqua:ajeetdsouza/zoxide" = "0.9.8"
"aqua:alexellis/k3sup" = "0.13.8" "aqua:alexellis/k3sup" = "0.13.10"
"aqua:astral-sh/uv" = "0.7.3" "aqua:astral-sh/uv" = "0.7.20"
"aqua:aws/aws-cli" = "2.27.13" "aqua:aws/aws-cli" = "2.27.50"
"aqua:bitwarden/clients" = "cli-v2025.2.0" "aqua:bitwarden/clients" = "cli-v2025.5.0"
"aqua:dagger/dagger" = "0.18.6" "aqua:dagger/dagger" = "0.18.12"
"aqua:derailed/k9s" = "0.50.6" "aqua:derailed/k9s" = "0.50.7"
"aqua:eksctl-io/eksctl" = "0.208.0" "aqua:eksctl-io/eksctl" = "0.210.0"
"aqua:evilmartians/lefthook" = "1.11.12" "aqua:evilmartians/lefthook" = "1.12.2"
"aqua:eza-community/eza" = "0.21.3" "aqua:eza-community/eza" = "0.22.1"
"aqua:github-cli" = "2.72.0" "aqua:github-cli" = "2.75.0"
"aqua:go-task/task" = "3.43.3" "aqua:go-task/task" = "3.44.0"
"aqua:hashicorp/terraform" = "1.11.4" "aqua:hashicorp/terraform" = "1.12.2"
"aqua:helm/helm" = "3.17.3" "aqua:helm/helm" = "3.18.4"
"aqua:jj-vcs/jj" = "0.29.0" "aqua:jj-vcs/jj" = "0.31.0"
"aqua:junegunn/fzf" = "0.62.0" "aqua:junegunn/fzf" = "0.64.0"
"aqua:k3d-io/k3d" = "5.8.3" "aqua:k3d-io/k3d" = "5.8.3"
"aqua:kubernetes-sigs/kind" = "0.27.0" "aqua:kubernetes-sigs/kind" = "0.29.0"
"aqua:kubernetes/kubectl" = "1.33.0" "aqua:kubernetes/kubectl" = "1.33.2"
"aqua:pnpm/pnpm" = "10.10.0" "aqua:pnpm/pnpm" = "10.13.1"
"aqua:sbstp/kubie" = "0.25.2" "aqua:sbstp/kubie" = "0.26.0"
"aqua:sharkdp/bat" = "0.25.0" "aqua:sharkdp/bat" = "0.25.0"
"aqua:starship/starship" = "1.23.0" "aqua:starship/starship" = "1.23.0"
"aqua:tilt-dev/ctlptl" = "0.8.40" "aqua:tilt-dev/ctlptl" = "0.8.42"
"aqua:tilt-dev/tilt" = "0.34.2" "aqua:tilt-dev/tilt" = "0.35.0"
"aqua:xo/usql" = "0.19.23" "npm:@anthropic-ai/claude-code" = "1.0.51"
"go:github.com/bloznelis/typioca" = "3.1.0" "npm:@google/gemini-cli" = "0.1.12"
"npm:@anthropic-ai/claude-code" = "0.2.108" "pipx:aider-chat" = { version = "0.85.1", uvx_args = "--python 3.12.10 --with google-generativeai" }
"pipx:aider-chat" = { version = "0.83.1", uvx_args = "--python 3.12.10 --with google-generativeai" } "pipx:httpie" = { version = "3.2.4", uvx_args = "--python 3.13.3" }
"pipx:vectorcode" = { version = "0.6.6", uvx_args = "--python 3.13.3", extras = "mcp" }
"ubi:Samyak2/toipe" = "0.5.0" "ubi:Samyak2/toipe" = "0.5.0"
"ubi:block/goose" = "1.0.24" "ubi:comtrya/comtrya" = "0.9.2"
"ubi:hlsxx/tukai" = "0.2.2" "ubi:hlsxx/tukai" = "0.2.2"
"ubi:jdx/usage" = "2.1.1" "ubi:jdx/usage" = "2.2.0"
"ubi:max-niederman/ttyper" = "1.6.0" "ubi:max-niederman/ttyper" = "1.6.0"
"ubi:supabase/cli" = { version = "2.22.12", exe = "supabase" } "ubi:sst/opencode" = "0.3.2"
"ubi:wagoodman/dive" = "0.13.1" "ubi:wagoodman/dive" = "0.13.1"
elixir = "1.18.4" elixir = "1.18.4"
erlang = "28.0" erlang = "28.0.2"
go = "1.24.3" go = "1.24.5"
lua = "5.1.5" lua = "5.4.8"
luajit = "2.0.5" luajit = "2.0.5"
node = "22.16.0" node = "24.4.1"
poetry = "2.1.3" python = "3.13.5"
python = "3.13.3" r = "4.5.1"
r = "4.5.0" rust = "1.88.0"
rust = "1.87.0"
yarn = "1.22.22"
[settings] [settings]
experimental = true experimental = true
python_compile = true python_compile = true
idiomatic_version_file_enable_tools = ["go", "ruby", "python"]
[env] [env]

View File

@@ -105,43 +105,23 @@ return {
config = true, config = true,
}, },
{ {
'EvWilson/slimux.nvim', 'jpalardy/vim-slime',
lazy = true, init = function()
opts = function() vim.g.slime_target = 'tmux'
local status_ok, slimux = pcall(require, 'slimux') vim.g.slime_no_mappings = true
if not status_ok then
return {}
end
return {
target_socket = slimux.get_tmux_socket(),
target_pane = string.format('%s.1', slimux.get_tmux_window()),
}
end, end,
keys = function() keys = {
local status_ok, which_key = pcall(require, 'which-key') { '<leader>xr', '<Plug>SlimeMotionSend', mode = 'n', desc = 'Slime send motion' },
if status_ok then { '<leader>xz', ":<C-u>'<,'>SlimeSend<CR>", mode = 'v', desc = 'Slime send currently highlighted text' },
which_key.add { { '<leader>xz', '<Plug>SlimeLineSend', mode = 'n', desc = 'Slime send line' },
{ '<leader>m', group = 'Toggle ter[m]inal' }, { '<leader>xc', '<Plug>SlimeConfig', mode = 'n', desc = 'Slime configuration' },
}
end
local slimux_status_ok, slimux = pcall(require, 'slimux')
if not slimux_status_ok then
return {}
end
return {
{
'<leader>xr',
slimux.send_highlighted_text,
mode = 'v',
desc = 'Send currently highlighted text to configured tmux pane',
}, },
{ config = function()
'<leader>r', vim.g.slime_input_pid = false
slimux.send_paragraph_text, vim.g.slime_suggest_default = true
mode = 'n', vim.g.slime_menu_config = false
desc = 'Send paragraph under cursor to configured tmux pane', vim.g.slime_neovim_ignore_unlisted = false
}, vim.g.slime_bracketed_paste = true
}
end, end,
}, },
{ {
@@ -175,36 +155,6 @@ return {
}, },
}, },
}, },
{
'Davidyz/VectorCode',
dependencies = {
'nvim-lua/plenary.nvim',
},
version = vim.fn.system { 'mise', 'current', 'pipx:vectorcode' },
opts = function()
return {
async_opts = {
debounce = 10,
events = { 'BufWritePost', 'InsertEnter', 'BufReadPost' },
exclude_this = true,
n_query = 1,
notify = false,
query_cb = require('vectorcode.utils').make_surrounding_lines_cb(-1),
run_on_register = false,
},
async_backend = 'default',
exclude_this = true,
n_query = 1,
notify = true,
timeout_ms = 5000,
on_setup = {
update = false,
lsp = false,
},
sync_log_env_var = false,
}
end,
},
{ {
'olimorris/codecompanion.nvim', 'olimorris/codecompanion.nvim',
dependencies = { dependencies = {
@@ -234,7 +184,7 @@ return {
name = 'gemini_pro', name = 'gemini_pro',
schema = { schema = {
model = { model = {
default = 'gemini-2.5-pro-preview-05-06', default = 'gemini-2.5-pro',
}, },
}, },
}) })
@@ -244,7 +194,7 @@ return {
name = 'gemini_flash', name = 'gemini_flash',
schema = { schema = {
model = { model = {
default = 'gemini-2.0-flash', default = 'gemini-2.5-flash',
}, },
}, },
}) })
@@ -339,9 +289,8 @@ return {
'claude-sonnet-4-20250514', 'claude-sonnet-4-20250514',
}, },
gemini = { gemini = {
'gemini-2.5-pro-preview-05-06', 'gemini-2.5-pro',
'gemini-2.5-flash-preview-05-20', 'gemini-2.5-flash',
'gemini-2.0-flash',
}, },
groq = { groq = {
'deepseek-r1-distill-llama-70b', 'deepseek-r1-distill-llama-70b',
@@ -454,24 +403,42 @@ return {
local hub = require('mcphub').get_hub_instance() local hub = require('mcphub').get_hub_instance()
return hub and hub:get_active_servers_prompt() or '' return hub and hub:get_active_servers_prompt() or ''
end, end,
vendors = { providers = {
['deepseek-r1-local'] = {
__inherited_from = 'ollama',
api_key_name = '',
endpoint = 'http://172.30.64.1:10000',
model = 'deepseek-r1:14b',
},
['gemma3-local'] = {
__inherited_from = 'ollama',
api_key_name = '',
endpoint = 'http://172.30.64.1:10000',
model = 'gemma3:12b',
},
['qwen3-local'] = {
__inherited_from = 'ollama',
api_key_name = '',
endpoint = 'http://172.30.64.1:10000',
model = 'qwen3:14b',
},
['gemini-pro'] = { ['gemini-pro'] = {
__inherited_from = 'gemini', __inherited_from = 'gemini',
model = 'gemini-2.5-pro-preview-05-06', model = 'gemini-2.5-pro',
timeout = 600000, timeout = 600000,
max_tokens = 40960, extra_request_body = { max_tokens = 40960 },
}, },
['gemini-flash'] = { ['gemini-flash'] = {
__inherited_from = 'gemini', __inherited_from = 'gemini',
model = 'gemini-2.0-flash', model = 'gemini-2.5-flash',
timeout = 600000, timeout = 600000,
max_tokens = 20480, extra_request_body = { max_tokens = 20480 },
}, },
['claude-sonnet-4'] = { ['claude-sonnet-4'] = {
__inherited_from = 'claude', __inherited_from = 'claude',
model = 'claude-sonnet-4-20250514', model = 'claude-sonnet-4-20250514',
timeout = 600000, timeout = 600000,
max_tokens = 20480, extra_request_body = { max_tokens = 20480 },
}, },
groq = { groq = {
__inherited_from = 'openai', __inherited_from = 'openai',
@@ -493,4 +460,51 @@ return {
trailing_stiffness = 0.1, trailing_stiffness = 0.1,
}, },
}, },
{
'greggh/claude-code.nvim',
dependencies = {
'nvim-lua/plenary.nvim',
},
opts = {
window = {
split_ratio = 0.5,
position = 'botright',
enter_insert = true,
hide_numbers = true,
hide_signcolumn = true,
},
refresh = {
enable = true,
updatetime = 100,
timer_interval = 1000,
show_notifications = true,
},
git = {
use_git_root = true,
},
shell = {
separator = '&&',
pushd_cmd = 'pushd',
popd_cmd = 'popd',
},
command = 'claude',
command_variants = {
continue = '--continue', -- Resume the most recent conversation
resume = '--resume', -- Display an interactive conversation picker
verbose = '--verbose', -- Enable verbose logging with full turn-by-turn output
},
keymaps = {
toggle = {
normal = '<C-_>',
terminal = '<C-_>',
variants = {
continue = '<leader>cC',
verbose = '<leader>cV',
},
},
window_navigation = true,
scrolling = true,
},
},
},
} }

14
config/tmuxp/rpi.yml Normal file
View File

@@ -0,0 +1,14 @@
---
session_name: rpi
start_directory: /opt/personal
windows:
- window_name: rpi
focus: true
layout: tiled
start_directory: labs
panes:
- focus: true
shell_command: ssh rpi00
- shell_command: ssh rpi01
- shell_command: ssh rpi02
- shell_command: ssh rpi03

View File

@@ -14,7 +14,6 @@ services:
entrypoint: sleep entrypoint: sleep
command: infinity command: infinity
environment: environment:
ANTHROPIC_API_KEY: ${NVIM_ANTHROPIC_API_KEY:-no-api}
GH_TOKEN: &github_token ${NVIM_GH_TOKEN:-no-token} GH_TOKEN: &github_token ${NVIM_GH_TOKEN:-no-token}
GITHUB_TOKEN: *github_token GITHUB_TOKEN: *github_token
COMPOSE_BAKE: 'true' COMPOSE_BAKE: 'true'
@@ -33,9 +32,10 @@ services:
- 'home_local_share:/home/coder/.local/share' - 'home_local_share:/home/coder/.local/share'
- 'home_local_state:/home/coder/.local/state' - 'home_local_state:/home/coder/.local/state'
- 'home_plugins_tmux:/home/coder/.config/tmux/plugins' - 'home_plugins_tmux:/home/coder/.config/tmux/plugins'
- 'home_supermaven:/home/coder/.supermaven'
chroma: chroma:
image: 'ghcr.io/chroma-core/chroma:1.0.10' image: 'ghcr.io/chroma-core/chroma:1.0.15'
init: true init: true
restart: unless-stopped restart: unless-stopped
hostname: chroma hostname: chroma
@@ -52,4 +52,5 @@ volumes:
home_local_share: {} home_local_share: {}
home_local_state: {} home_local_state: {}
home_plugins_tmux: {} home_plugins_tmux: {}
home_supermaven: {}
chroma_data: {} chroma_data: {}

View File

@@ -1,5 +1,5 @@
diff --git a/init.lua b/init.lua diff --git a/init.lua b/init.lua
index b98ffc6..8013e25 100644 index b98ffc6..d9e223a 100644
--- a/init.lua --- a/init.lua
+++ b/init.lua +++ b/init.lua
@@ -91,7 +91,7 @@ vim.g.mapleader = ' ' @@ -91,7 +91,7 @@ vim.g.mapleader = ' '
@@ -60,6 +60,15 @@ index b98ffc6..8013e25 100644
}, },
} }
@@ -659,7 +668,7 @@ require('lazy').setup({
-- By default, Neovim doesn't support everything that is in the LSP specification.
-- When you add blink.cmp, luasnip, etc. Neovim now has *more* capabilities.
-- So, we create new capabilities with blink.cmp, and then broadcast that to the servers.
- local capabilities = require('blink.cmp').get_lsp_capabilities()
+ -- local capabilities = require('blink.cmp').get_lsp_capabilities()
-- Enable the following language servers
-- Feel free to add/remove any LSPs that you want here. They will automatically be installed.
@@ -684,6 +693,28 @@ require('lazy').setup({ @@ -684,6 +693,28 @@ require('lazy').setup({
-- ts_ls = {}, -- ts_ls = {},
-- --
@@ -89,7 +98,7 @@ index b98ffc6..8013e25 100644
lua_ls = { lua_ls = {
-- cmd = { ... }, -- cmd = { ... },
-- filetypes = { ... }, -- filetypes = { ... },
@@ -698,6 +729,32 @@ require('lazy').setup({ @@ -698,6 +729,38 @@ require('lazy').setup({
}, },
}, },
}, },
@@ -119,44 +128,67 @@ index b98ffc6..8013e25 100644
+ }, + },
+ }, + },
+ }, + },
+ }
+
+ ---@type MasonLspconfigSettings
+ ---@diagnostic disable-next-line: missing-fields
+ require('mason-lspconfig').setup {
+ automatic_enable = vim.tbl_keys(servers or {}),
} }
-- Ensure the servers and tools above are installed -- Ensure the servers and tools above are installed
@@ -729,6 +786,33 @@ require('lazy').setup({ @@ -719,20 +782,36 @@ require('lazy').setup({
-- by the server configuration above. Useful when disabling })
-- certain features of an LSP (for example, turning off formatting for ts_ls) require('mason-tool-installer').setup { ensure_installed = ensure_installed }
server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {})
+ -- overwrite elixirls for older versions of elixir - require('mason-lspconfig').setup {
+ -- * elixir 1.11 use version 0.12.0 - ensure_installed = {}, -- explicitly set to an empty table (Kickstart populates installs via mason-tool-installer)
+ -- * elixir 1.12 use verions 0.14.6 - automatic_installation = false,
+ if server_name == 'elixirls' then - handlers = {
+ local version = vim.fn.system('mise current elixir') or '' - function(server_name)
+ local elixir_servers = { - local server = servers[server_name] or {}
+ { version = '^1.11', path = '/elixir-ls/release/v0.12.0/language_server.sh' }, - -- This handles overriding only values explicitly passed
+ { version = '^1.12', path = '/elixir-ls/release/v0.14.6/language_server.sh' }, - -- by the server configuration above. Useful when disabling
+ } - -- certain features of an LSP (for example, turning off formatting for ts_ls)
+ for _, ex_server in ipairs(elixir_servers) do - server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {})
+ if string.match(version, ex_server.version) == nil then goto continue end - require('lspconfig')[server_name].setup(server)
+ server = vim.tbl_extend('keep', server, { cmd = { vim.fn.expand('$LOCAL_SRC_HOME') .. ex_server.path } }) - end,
+ ::continue:: - },
+ end - }
+ elseif server_name == 'pyright' then + local extend_server_config = function (server_name)
+ local config = {}
+
+ if server_name == 'pyright' then
+ -- overwrite python path for pyright according to the virtualenv manager, be it poetry or system.
+ local python_paths = { + local python_paths = {
+ { name = 'poetry', cmd = { 'poetry', 'env', 'info', '--executable' }},
+ { name = 'system', cmd = { 'which', 'python' }}, + { name = 'system', cmd = { 'which', 'python' }},
+ { name = 'poetry', cmd = { 'poetry', 'env', 'info', '--executable' }},
+ } + }
+ for _, py_server in ipairs(python_paths) do + for _, py_server in ipairs(python_paths) do
+ local cmd = vim.system(py_server.cmd, { text = true }):wait() + local cmd = vim.system(py_server.cmd, { text = true }):wait()
+ if (cmd.code > 0) then goto continue end + if (cmd.code > 0) then goto continue end
+ local python_path = string.gsub(cmd.stdout, '\n', '') + local python_path = string.gsub(cmd.stdout, '\n', '')
+ server = vim.tbl_extend('keep', server, { settings = { python = { pythonPath = python_path } } }) + config = { settings = { python = { pythonPath = python_path } } }
+ ::continue:: + ::continue::
+ end + end
+ end + end
require('lspconfig')[server_name].setup(server) +
+ return config
+ end
+
+ -- Installed LSPs are configured and enabled automatically with mason-lspconfig
+ -- The loop below is for overriding the default configuration of LSPs with the ones in the servers table
+ for server_name, config in pairs(servers) do
+ config = vim.tbl_extend('keep', config, extend_server_config(server_name))
+ vim.lsp.config(server_name, config)
+ end
+
+ -- NOTE: Some servers may require an old setup until they are updated. For the full list refer here: https://github.com/neovim/nvim-lspconfig/issues/3705
+ -- These servers will have to be manually set up with require("lspconfig").server_name.setup{}
end, end,
}, },
@@ -809,6 +893,9 @@ require('lazy').setup({
@@ -809,6 +888,9 @@ require('lazy').setup({
opts = {}, opts = {},
}, },
'folke/lazydev.nvim', 'folke/lazydev.nvim',
@@ -166,7 +198,7 @@ index b98ffc6..8013e25 100644
}, },
--- @module 'blink.cmp' --- @module 'blink.cmp'
--- @type blink.cmp.Config --- @type blink.cmp.Config
@@ -854,9 +941,19 @@ require('lazy').setup({ @@ -854,9 +936,19 @@ require('lazy').setup({
}, },
sources = { sources = {
@@ -187,7 +219,7 @@ index b98ffc6..8013e25 100644
}, },
}, },
@@ -882,19 +979,39 @@ require('lazy').setup({ @@ -882,19 +974,39 @@ require('lazy').setup({
-- --
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`. -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
'folke/tokyonight.nvim', 'folke/tokyonight.nvim',
@@ -233,7 +265,7 @@ index b98ffc6..8013e25 100644
end, end,
}, },
@@ -944,7 +1061,39 @@ require('lazy').setup({ @@ -944,7 +1056,39 @@ require('lazy').setup({
main = 'nvim-treesitter.configs', -- Sets main module to use for opts main = 'nvim-treesitter.configs', -- Sets main module to use for opts
-- [[ Configure Treesitter ]] See `:help nvim-treesitter` -- [[ Configure Treesitter ]] See `:help nvim-treesitter`
opts = { opts = {
@@ -274,7 +306,7 @@ index b98ffc6..8013e25 100644
-- Autoinstall languages that are not installed -- Autoinstall languages that are not installed
auto_install = true, auto_install = true,
highlight = { highlight = {
@@ -974,17 +1123,17 @@ require('lazy').setup({ @@ -974,17 +1118,17 @@ require('lazy').setup({
-- Uncomment any of the lines below to enable them (you will need to restart nvim). -- Uncomment any of the lines below to enable them (you will need to restart nvim).
-- --
-- require 'kickstart.plugins.debug', -- require 'kickstart.plugins.debug',

View File

@@ -1,14 +1,6 @@
#!/bin/bash #!/bin/bash
set -e set -e
# NOTE: (jpd) setup elixir-ls for older versions of elixir
if [ ! -d ${LOCAL_SRC_HOME}/elixir-ls/release ]; then
echo "setup elixir ls version 0.12.0"
/usr/local/bin/elixir-ls-setup v0.12.0
echo "setup elixir ls version 0.14.6"
/usr/local/bin/elixir-ls-setup v0.14.6
fi
# NOTE: (jpd) create auto-completion # NOTE: (jpd) create auto-completion
commands=( commands=(
"ctlptl" "ctlptl"

View File

@@ -1,38 +0,0 @@
#!/usr/bin/env bash
set -e
function setup() {
local elixir_ls_home=${LOCAL_SRC_HOME}/elixir-ls
local elixir_ls_release=${elixir_ls_home}/release
echo "elixir-ls repo"
cd ${elixir_ls_home}
echo "checkout versions ${1}"
git checkout tags/${1}
echo "set erlang/elixir versions"
cp .release-tool-versions .tool-versions
if [[ ! -z "$2" ]]; then
echo "override erlang to ${2}"
sed -i "s/erlang .*/erlang ${2}/g" .tool-versions
fi
if [[ ! -z "$3" ]]; then
echo "override elixir to ${3}"
sed -i "s/elixir .*/elixir ${3}/g" .tool-versions
fi
local current_erlang=$(mise current erlang)
local current_elixir=$(mise current elixir)
echo "using erlang ${current_erlang} / elixir ${current_elixir}"
echo "install erlang/elixir runtimes"
KERL_CONFIGURE_OPTIONS="-with-ssl=${HOME}/.local/lib/ssl" mise install
echo "install elixir-ls deps"
mise exec erlang@${current_erlang} elixir@${current_elixir} --command "mix do local.rebar --force, local.hex --force, deps.get, deps.compile"
echo "compile and release elixir-ls"
mise exec erlang@${current_erlang} elixir@${current_elixir} --command "MIX_ENV=prod mix compile"
mise exec erlang@${current_erlang} elixir@${current_elixir} --command "MIX_ENV=prod mix elixir_ls.release -o ${elixir_ls_release}/${1}"
echo "remove local .tool-versions"
cp .tool-versions ${elixir_ls_release}/${1}
rm .tool-versions
mise exec erlang@${current_erlang} elixir@${current_elixir} --command "mix do deps.clean --all, clean"
git checkout master
}
setup $1 $2 $3