mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
Changed name of binary (vim -> nvim).
Also updated affected config files and test49.vim
This commit is contained in:
committed by
Thiago de Arruda
parent
d29ab233a6
commit
9db0fc3582
@ -12,19 +12,19 @@ list(APPEND NEOVIM_SOURCES "${PROJECT_BINARY_DIR}/config/auto/pathdef.c")
|
||||
|
||||
file( GLOB IO_SOURCES io/*.c )
|
||||
|
||||
add_executable (vim ${NEOVIM_SOURCES} ${IO_SOURCES})
|
||||
add_executable (nvim ${NEOVIM_SOURCES} ${IO_SOURCES})
|
||||
|
||||
target_link_libraries (vim m uv ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_link_libraries (nvim m uv ${CMAKE_THREAD_LIBS_INIT})
|
||||
|
||||
include(CheckLibraryExists)
|
||||
check_library_exists(termcap tgetent "" HAVE_LIBTERMCAP)
|
||||
|
||||
if (HAVE_LIBTERMCAP)
|
||||
target_link_libraries(vim termcap)
|
||||
target_link_libraries(nvim termcap)
|
||||
else()
|
||||
check_library_exists(curses tgetent "" HAVE_LIBCURSES)
|
||||
if (HAVE_LIBCURSES)
|
||||
target_link_libraries(vim curses)
|
||||
target_link_libraries(nvim curses)
|
||||
else()
|
||||
message(FATAL_ERROR "can't find something resembling -ltermcap")
|
||||
endif()
|
||||
|
@ -125,9 +125,9 @@ CHECKFILES = \
|
||||
uk.cp1251.ck \
|
||||
zh_CN.cp936.ck
|
||||
|
||||
PACKAGE = vim
|
||||
PACKAGE = nvim
|
||||
SHELL = /bin/sh
|
||||
VIM = ../../build/bin/vim
|
||||
VIM = ../../build/bin/nvim
|
||||
|
||||
# The OLD_PO_FILE_INPUT and OLD_PO_FILE_OUTPUT are for the new GNU gettext
|
||||
# tools 0.10.37, which use a slightly different .po file format that is not
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Makefile to run all tests for Vim
|
||||
#
|
||||
|
||||
VIMPROG = ../../build/bin/vim
|
||||
VIMPROG = ../../build/bin/nvim
|
||||
|
||||
# Uncomment this line to use valgrind for memory leaks and extra warnings.
|
||||
# The output goes into a file "valgrind.testN"
|
||||
|
@ -456,7 +456,7 @@ function! ExtraVim(...)
|
||||
" messing up the user's viminfo file.
|
||||
let redirect = a:0 ?
|
||||
\ " -c 'au VimLeave * redir END' -c 'redir\\! >" . a:1 . "'" : ""
|
||||
exec "!echo '" . debug_quits . "q' | ../../build/bin/vim -u NONE -N -Xes" . redirect .
|
||||
exec "!echo '" . debug_quits . "q' | ../../build/bin/nvim -u NONE -N -Xes" . redirect .
|
||||
\ " -c 'debuggreedy|set viminfo+=nviminfo'" .
|
||||
\ " -c 'let ExtraVimBegin = " . extra_begin . "'" .
|
||||
\ " -c 'let ExtraVimResult = \"" . resultfile . "\"'" . breakpoints .
|
||||
|
Reference in New Issue
Block a user