From 42270f1861d9d349d84a0a8c104371fc01a8a4e7 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Mon, 7 Oct 2024 11:12:57 -0500 Subject: [PATCH] Add invoke for NVim setup --- invoke/nvim/tasks.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 invoke/nvim/tasks.py 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}") -- 2.47.3