feat: add moar lsp/aliases and upgrade neovim/runtimes (#52)
A lot of updates in my personal development environment:
## Additions
1. Command lines and runtimes:
1. [`ctlptl`][2]: `cli` to make local `kubernetes` cluster management easier
1. [`eksctl`][3]: `cli` to make `eks` cluster management easier
1. [`r`][4]: software environment for statistical computing and graphics
1. [`usage`][5]: specification for `cli`s, used by `mise`
1. Aliases:
1. `dc`: for `docker compose`
2. `k`: for `kubectl`
1. Moar `lsp`s:
1. [`cuelsp`][8]: for the [`cue`][9], with [`dagger`][10] support
1. [`jsonls`][11]: for `json` schemas
1. [`r-languageserver`][12]: for the [`r`][4] environment
1. [`yamlls`][13]: for `yaml` schemas
1. Auto-completion for:
1. [`ctlptl`][2]
1. [`eksctl`][3]
1. `helm`
1. `k3d`
1. `k9s`
1. `kubectl`
1. `lefthook`
1. `mise`
## Upgrades
1. Runtimes:
1. [`elixir` from 1.16.2 to 1.17.0][0]
1. [`erlang` from 26.2.5 to 27.0][1]
1. [`kickstart.nvim` to latest commit][6]
1. [Installation of `atuin`][7]
Reviewed-on: #52
[0]: https://elixir-lang.org/blog/2024/06/12/elixir-v1-17-0-released/
[1]: https://www.erlang.org/news/170
[2]: https://github.com/tilt-dev/ctlptl
[3]: https://eksctl.io/
[4]: https://www.r-project.org/
[5]: https://usage.jdx.dev/
[6]: 5aeddfdd5d
[7]: https://github.com/atuinsh/atuin?tab=readme-ov-file#install
[8]: https://github.com/dagger/cuelsp
[9]: https://cuelang.org/
[10]: https://dagger.io/
[11]: https://github.com/microsoft/vscode-json-languageservice
[12]: https://github.com/REditorSupport/languageserver
[13]: https://github.com/redhat-developer/yaml-language-server
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# NOTE (jpd): setup elixir-ls for older versions of elixir
|
||||
# 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
|
||||
@@ -9,4 +9,25 @@ if [ ! -d ${LOCAL_SRC_HOME}/elixir-ls/release ]; then
|
||||
/usr/local/bin/elixir-ls-setup v0.14.6
|
||||
fi
|
||||
|
||||
# NOTE: (jpd) create auto-completion
|
||||
commands=(
|
||||
"ctlptl"
|
||||
"eksctl"
|
||||
"helm"
|
||||
"k3d"
|
||||
"k9s"
|
||||
"kind"
|
||||
"kubectl"
|
||||
"lefthook"
|
||||
"mise"
|
||||
)
|
||||
echo "create completion for ${commands[@]}"
|
||||
for cmd in ${commands[@]}; do
|
||||
completion_dir=${XDG_CONFIG_HOME}/fish/completions/${cmd}.fish
|
||||
if [ ! -f ${completion_dir} ]; then
|
||||
echo "setup ${cmd} completion"
|
||||
$(echo ${cmd} completion fish) > ${completion_dir}
|
||||
fi
|
||||
done
|
||||
|
||||
exec "$@"
|
||||
|
Reference in New Issue
Block a user