Created
February 23, 2023 00:40
-
-
Save ianchanning/8fa093a85647eb739ba57d1cf93907a7 to your computer and use it in GitHub Desktop.
neovim init file that splits VS Code and neovim .vimrc files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set runtimepath^=~/.vim runtimepath+=~/.vim/after | |
let &packpath = &runtimepath | |
if exists('g:vscode') | |
" VSCode extension | |
source ~/.vimrc.vscode | |
else | |
" ordinary Neovim | |
source ~/.vimrc | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment