aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/diff.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-06-09 17:09:24 +0200
committerGitHub <noreply@github.com>2022-06-09 08:09:24 -0700
commit6d57bb89c1ee376b60198f4a4b75430905844138 (patch)
tree5e9b522be1202cedd601e01a983cc7893b581bf4 /src/nvim/diff.c
parent9662cd7f48c5dc3b7ab5f5ca3e5b217a03faa6c9 (diff)
downloadrneovim-6d57bb89c1ee376b60198f4a4b75430905844138.tar.gz
rneovim-6d57bb89c1ee376b60198f4a4b75430905844138.tar.bz2
rneovim-6d57bb89c1ee376b60198f4a4b75430905844138.zip
build: add a cmake target for all used linters #18543
* build: move the logic for linters to cmake Cmake is our source of truth. We should have as much of our build process there as possible so everyone can make use of it. * build: remove redundant check for ninja generator The minimum cmake version as of writing this is 3.10, which has ninja support.
Diffstat (limited to 'src/nvim/diff.c')
-rw-r--r--src/nvim/diff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/diff.c b/src/nvim/diff.c
index 8c98c1ef23..1625632842 100644
--- a/src/nvim/diff.c
+++ b/src/nvim/diff.c
@@ -2307,6 +2307,7 @@ bool diff_find_change(win_T *wp, linenr_T lnum, int *startp, int *endp)
if ((dp == NULL) || (diff_check_sanity(curtab, dp) == FAIL)) {
xfree(line_org);
+
return false;
}