mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
api: bump api level to 2
This commit is contained in:
parent
9500ecdda5
commit
a5d03be7b8
@ -68,9 +68,9 @@ set(NVIM_VERSION_PATCH 0)
|
|||||||
set(NVIM_VERSION_PRERELEASE "-dev") # for package maintainers
|
set(NVIM_VERSION_PRERELEASE "-dev") # for package maintainers
|
||||||
|
|
||||||
# API level
|
# API level
|
||||||
set(NVIM_API_LEVEL 1) # Bump this after any API change.
|
set(NVIM_API_LEVEL 2) # Bump this after any API change.
|
||||||
set(NVIM_API_LEVEL_COMPAT 0) # Adjust this after a _breaking_ API change.
|
set(NVIM_API_LEVEL_COMPAT 0) # Adjust this after a _breaking_ API change.
|
||||||
set(NVIM_API_PRERELEASE false)
|
set(NVIM_API_PRERELEASE true)
|
||||||
|
|
||||||
file(TO_CMAKE_PATH ${CMAKE_CURRENT_LIST_DIR}/.git FORCED_GIT_DIR)
|
file(TO_CMAKE_PATH ${CMAKE_CURRENT_LIST_DIR}/.git FORCED_GIT_DIR)
|
||||||
include(GetGitRevisionDescription)
|
include(GetGitRevisionDescription)
|
||||||
|
@ -435,6 +435,7 @@ Object nvim_buf_get_var(Buffer buffer, String name, Error *err)
|
|||||||
///
|
///
|
||||||
/// @return `b:changedtick` value.
|
/// @return `b:changedtick` value.
|
||||||
Integer nvim_buf_get_changedtick(Buffer buffer, Error *err)
|
Integer nvim_buf_get_changedtick(Buffer buffer, Error *err)
|
||||||
|
FUNC_API_SINCE(2)
|
||||||
{
|
{
|
||||||
const buf_T *const buf = find_buffer_by_handle(buffer, err);
|
const buf_T *const buf = find_buffer_by_handle(buffer, err);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user