-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call find_vim_executable() before find_vimpagerrc_files() and read_vim_settings(), and use the found $tvim (terminal vim) in the latter two functions instead of hardcoding `vim`. This fixes properly finding ~/.config/nvim/init.vim if the user does not have the ~/.vimrc symlink. Also check for "$user_vimrc_dir/.vimpagerrc" etc. more carefully, by making sure $user_vimrc_dir is set and quote "$vim_cmd" on invokation of vim. Also s/vim/(n)vim/g in the usage() text to make neovim compatibility more explicit.
- Loading branch information
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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