From 30857030e848e4a727a889e51d4618ab9b30651f Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 16 Nov 2018 02:00:04 +0100 Subject: doc - develop.txt is for design/guidelines; architecture/concepts should live elsewhere (currently src/nvim/README.md) - move dev-jargon to intro.txt - replace https://neovim.io/community (deprecated) with https://neovim.io/#chat - avoids CmdlineEnter/Leave https://github.com/vim/vim/issues/2889 --- src/nvim/api/vim.c | 3 +++ src/nvim/version.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index 54b27477e0..4da61a30ef 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -743,6 +743,9 @@ void nvim_err_writeln(String str) /// Gets the current list of buffer handles /// +/// Includes unlisted (unloaded/deleted) buffers, like `:ls!`. +/// Use |nvim_buf_is_loaded()| to check if a buffer is loaded. +/// /// @return List of buffer handles ArrayOf(Buffer) nvim_list_bufs(void) FUNC_API_SINCE(1) diff --git a/src/nvim/version.c b/src/nvim/version.c index d23a007109..966ecfd719 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -2173,7 +2173,7 @@ void intro_message(int colon) N_(NVIM_VERSION_LONG), "", N_("Nvim is open source and freely distributable"), - N_("https://neovim.io/community"), + N_("https://neovim.io/#chat"), "", N_("type :help nvim if you are new! "), N_("type :checkhealth to optimize Nvim"), -- cgit From 67305ffb5de865f872898c03cbacd189c9e9aa53 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Wed, 29 Mar 2017 17:34:50 +0200 Subject: lint: src/.clang-format Move to top level so that clang-format -style=file can find it regardless of current directory. --- src/.clang-format | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/.clang-format (limited to 'src') diff --git a/src/.clang-format b/src/.clang-format deleted file mode 100644 index 5a910ff34b..0000000000 --- a/src/.clang-format +++ /dev/null @@ -1,18 +0,0 @@ -BasedOnStyle: Google -Language: Cpp -ColumnLimit: 80 -IndentWidth: 2 -TabWidth: 2 -UseTab: Never -IndentCaseLabels: true -BreakBeforeBraces: Linux -AlignEscapedNewlinesLeft: false -AllowShortFunctionsOnASingleLine: false -SpacesBeforeTrailingComments: 2 -PenaltyReturnTypeOnItsOwnLine: 200 -AllowAllParametersOfDeclarationOnNextLine: false -AllowShortIfStatementsOnASingleLine: false -AllowShortLoopsOnASingleLine: false -BinPackParameters: false -BreakBeforeBinaryOperators: true -ContinuationIndentWidth: 4 -- cgit