Merge pull request #75 from kevinmcconnell/add-go

Configure for Go development
This commit is contained in:
David Heinemeier Hansson
2024-06-10 16:23:18 +02:00
committed by GitHub
4 changed files with 11 additions and 0 deletions

4
configs/lazyvim.json Normal file
View File

@@ -0,0 +1,4 @@
{
"extras": [ "lazyvim.plugins.extras.lang.go" ],
"version": 6
}

View File

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

View File

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

View File

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