dotfiles/win/setup/vim.ps1
2021-01-16 17:20:45 +08:00

8 lines
404 B
PowerShell

$dotfiles=(Get-Item $PSScriptRoot).Parent.FullName
if ( ! (Test-Path $Env:LOCALAPPDATA\nvim) ) {
New-Item -ItemType Directory -Path $Env:LOCALAPPDATA\nvim
}
New-Item -Force -ItemType SymbolicLink -Target $dotfiles\cli\vim\init.vim -Path $Env:LOCALAPPDATA\nvim\init.vim
New-Item -Force -ItemType SymbolicLink -Target $dotfiles\cli\vim\coc-settings.json -Path $Env:LOCALAPPDATA\nvim\coc-settings.json