mirror of
https://codeberg.org/qwjyh/dotfiles.git
synced 2025-06-26 19:29:20 +09:00
add neovim
This commit is contained in:
parent
43139557af
commit
e313f19269
2 changed files with 32 additions and 1 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue