From e46f87dc8640e6645152d348dbd67e9a0ef49382 Mon Sep 17 00:00:00 2001 From: Kevin McConnell Date: Mon, 10 Jun 2024 11:11:21 +0100 Subject: [PATCH 1/3] Include Go as a default language --- install/mise.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/mise.sh b/install/mise.sh index b97ae3ca..18fb8224 100644 --- a/install/mise.sh +++ b/install/mise.sh @@ -9,3 +9,4 @@ sudo apt install -y mise # Install default languages mise use --global ruby@3.3 mise use --global node@lts +mise use --global go@latest From ff3e2ac84585a87d8f20fb6424e22e48af8a1fe9 Mon Sep 17 00:00:00 2001 From: Kevin McConnell Date: Mon, 10 Jun 2024 11:28:20 +0100 Subject: [PATCH 2/3] Add Go language support to Neovim by default --- configs/lazyvim.json | 4 ++++ install/app-neovim.sh | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 configs/lazyvim.json diff --git a/configs/lazyvim.json b/configs/lazyvim.json new file mode 100644 index 00000000..eaa67499 --- /dev/null +++ b/configs/lazyvim.json @@ -0,0 +1,4 @@ +{ + "extras": [ "lazyvim.plugins.extras.lang.go" ], + "version": 6 +} diff --git a/install/app-neovim.sh b/install/app-neovim.sh index c25f27a2..0152f64e 100644 --- a/install/app-neovim.sh +++ b/install/app-neovim.sh @@ -5,4 +5,7 @@ sudo apt install -y neovim if [ ! -d "$HOME/.config/nvim" ]; then git clone https://github.com/LazyVim/starter ~/.config/nvim cp ~/.local/share/omakub/themes/neovim/tokyo-night.lua ~/.config/nvim/lua/plugins/theme.lua + + # Enable default extras + cp ~/.local/share/omakub/configs/lazyvim.json ~/.config/nvim/lazyvim.json fi From 2978e9c792507b63984b3a0149132263370d0a77 Mon Sep 17 00:00:00 2001 From: Kevin McConnell Date: Mon, 10 Jun 2024 11:32:41 +0100 Subject: [PATCH 3/3] Add Go language support to VSCode by default --- install/app-vscode.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/app-vscode.sh b/install/app-vscode.sh index 8122175b..531d4370 100644 --- a/install/app-vscode.sh +++ b/install/app-vscode.sh @@ -9,3 +9,6 @@ cp ~/.local/share/omakub/configs/vscode.json ~/.config/Code/User/settings.json # Install default supported themes code --install-extension enkia.tokyo-night + +# Install default language extensions +code --install-extension golang.go