From: Edward Delaporte Date: Mon, 7 Oct 2024 16:12:57 +0000 (-0500) Subject: Add invoke for NVim setup X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/commitdiff_plain/42270f1861d9d349d84a0a8c104371fc01a8a4e7 Add invoke for NVim setup --- diff --git a/invoke/nvim/tasks.py b/invoke/nvim/tasks.py new file mode 100644 index 0000000..e104e36 --- /dev/null +++ b/invoke/nvim/tasks.py @@ -0,0 +1,13 @@ +from invoke import task +import os + +home = os.path.expanduser('~') +config_dir = f"{home}/AppData/Local/nvim" + +@task +def status(c): + result = c.run('powershell Get-Command nvim') + print(f"Nvim installed? {result.ok}") + + print(f"Config dir is {config_dir}") + c.run(f"powershell ls {config_dir}")