]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Add invoke for NVim setup
authorEdward Delaporte <delaport@illinois.edu>
Mon, 7 Oct 2024 16:12:57 +0000 (11:12 -0500)
committerEdward Delaporte <delaport@illinois.edu>
Mon, 7 Oct 2024 16:12:57 +0000 (11:12 -0500)
invoke/nvim/tasks.py [new file with mode: 0644]

diff --git a/invoke/nvim/tasks.py b/invoke/nvim/tasks.py
new file mode 100644 (file)
index 0000000..e104e36
--- /dev/null
@@ -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}")