From 3ee55edd2e27dd66c3bf8c319929beb0a6426bb3 Mon Sep 17 00:00:00 2001 From: Andrej Zieger Date: Wed, 15 May 2019 22:02:10 +0200 Subject: vim-patch:8.1.0644: finding next sign ID is inefficient Problem: Finding next sign ID is inefficient. Solution: Add next_sign_id. (Yegappan Lakshmanan, closes vim/vim#3717) https://github.com/vim/vim/commit/6436cd83f90a0efc326798792e49e8ff96a43dce --- src/nvim/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvim/main.c') diff --git a/src/nvim/main.c b/src/nvim/main.c index 4e1c7dff57..93b31d684e 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -1337,6 +1337,8 @@ static void init_path(const char *exename) // shipped with Windows package. This also mimics SearchPath(). os_setenv_append_path(exepath); #endif + + init_signs(); } /// Get filename from command line, if any. -- cgit From 8df9213d1b6ed804fb883073e012b82d26080963 Mon Sep 17 00:00:00 2001 From: Andrej Zieger Date: Fri, 24 May 2019 22:10:19 +0200 Subject: Resolved compile warnings & fixed lot of style related to sign api --- src/nvim/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/main.c') diff --git a/src/nvim/main.c b/src/nvim/main.c index 93b31d684e..ed8788af60 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -49,6 +49,7 @@ #include "nvim/popupmnu.h" #include "nvim/quickfix.h" #include "nvim/screen.h" +#include "nvim/sign.h" #include "nvim/state.h" #include "nvim/strings.h" #include "nvim/syntax.h" -- cgit