add neovim

This commit is contained in:
qwjyh 2022-09-20 01:51:16 +09:00
parent 43139557af
commit e313f19269
2 changed files with 32 additions and 1 deletions

View file

@ -16,4 +16,19 @@ if ($PSVersionTable.PSVersion.Major -lt 7) {
please install powershell 7 (Core)
you can install via winget"
exit 1
}
}
# check working directory
if (!(
(Test-Path bin) -and (Test-Path dotfiles)
)) {
Write-Warning -Message "wrong current path
please execute at repo root"
exit 1
}
# make symbolic links
# neovim
$neovim_directory
New-Item -ItemType SymbolicLink -Path ~\AppData\Local\nvim\init.vim -Target (Resolve-Path .\dotfiles\neovim\init.vim) -Force