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 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 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