]> apps.delaporte.us Git - dotfiles.git/blob - invoke/nvim/tasks.py
Add invoke for NVim setup
[dotfiles.git] / invoke / nvim / tasks.py
1 from invoke import task
2 import os
3
4 home = os.path.expanduser('~')
5 config_dir = f"{home}/AppData/Local/nvim"
6
7 @task
8 def status(c):
9 result = c.run('powershell Get-Command nvim')
10 print(f"Nvim installed? {result.ok}")
11
12 print(f"Config dir is {config_dir}")
13 c.run(f"powershell ls {config_dir}")