Add Go language support to Neovim by default

This commit is contained in:
Kevin McConnell
2024-06-10 11:28:20 +01:00
parent e46f87dc86
commit ff3e2ac845
2 changed files with 7 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