Skip to content

Commit

Permalink
Get NvChad up and running
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Nov 2, 2024
1 parent e452ad4 commit d64683e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ sync-lazyvim: stylua
cp -f uts-plugins.lua ~/.config/nvim/lua/plugins/spec.lua
cp -f lazyvim-cmp.lua ~/.config/nvim/lua/plugins/lazyvim-cmp.lua

sync-nvchad: stylua
mkdir -p ~/.config/nvim/lua/plugins
cp -f uts-plugins.lua ~/.config/nvim/lua/plugins/spec.lua

prep-nvim: prep-term
#!/usr/bin/env bash
which nvim || brew install neovim
Expand Down Expand Up @@ -176,6 +180,19 @@ lazyvim PROJ="forest": sync-lazyvim
#!/usr/bin/env bash
cd ~/projects/{{PROJ}} && nvim --cmd 'set runtimepath+=~/.config/lazyvim/' -u ~/.config/lazyvim/lazyvim-init.lua .
prep-nvchad:
#!/usr/bin/env bash
if [ -d ~/.config/nvchad ]; then
(cd ~/.config/nvchad && git pull)
else
git clone https://github.com/NvChad/starter ~/.config/nvchad
fi

nvchad PROJ="forest": sync-nvchad
#!/usr/bin/env bash
cd ~/projects/{{PROJ}} && nvim --cmd 'set runtimepath+=~/.config/nvchad/' --cmd 'lua package.path = package.path .. ";{{home_directory()}}/.config/nvchad/lua/?.lua"' -u ~/.config/nvchad/init.lua .
# https://github.com/astral-sh/uv

[unix]
Expand Down
2 changes: 1 addition & 1 deletion uts-plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ local plugins = {
{
"kentookura/forester.nvim",
-- before = { "nvim-cmp" },
branch = "36-installation-and-initialization",
-- branch = "36-installation-and-initialization",
-- tried removing this for the auto-completion to have a non-nil `forester_current_config`
event = "VeryLazy",
dependencies = {
Expand Down

0 comments on commit d64683e

Please sign in to comment.