Skip to content

Commit

Permalink
Basic nvim config
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Sep 23, 2024
1 parent 78bf5b5 commit 7597959
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/executor/runnercode.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,16 @@ export async function runConfigCodeFeatures(key, value, writeLog, domaindata, ss
await sshExec("java --version");
}
break;
case 'neovim':
case 'nvim':
if (value == 'off') {
await writeLog("$> Removing Neovim config");
await sshExec(`rm -rf ~/.config/nvim ~/.local/state/nvim ~/.local/share/nvim`);
} else {
await writeLog("$> Installing Neovim Nvchad config");
await sshExec(`git clone https://github.com/NvChad/starter ~/.config/nvim`);
}
break;
default:
break;
}
Expand Down

0 comments on commit 7597959

Please sign in to comment.