neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 06a78d43f59dd1ed981ee8f5afe17341df9648fa
parent 5468e6a452721f9d09ee459fedd200fef05a5eaa
Author: wjyoung65 <wjyoung65@gmail.com>
Date:   Thu, 12 Feb 2026 04:20:01 -0500

docs(dev): fix references to LOG_DEBUG #37825


Diffstat:
Mcontrib/local.mk.example | 2+-
Mruntime/doc/dev_tools.txt | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/local.mk.example b/contrib/local.mk.example @@ -34,7 +34,7 @@ # Log levels: DEBUG, INFO, WARNING, ERROR # For Debug builds all log levels are used # For Release and RelWithDebInfo builds only WARNING and ERROR are used, unless: -# CMAKE_EXTRA_FLAGS += -DLOG_DEBUG +# CMAKE_EXTRA_FLAGS += "-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS} -DNVIM_LOG_DEBUG" # By default, nvim uses bundled versions of its required third-party # dependencies. diff --git a/runtime/doc/dev_tools.txt b/runtime/doc/dev_tools.txt @@ -62,14 +62,14 @@ Low-level log messages sink to `$NVIM_LOG_FILE`. UI events are logged at DEBUG level. > rm -rf build/ - make CMAKE_EXTRA_FLAGS="-DLOG_DEBUG" + make CMAKE_BUILD_TYPE=Debug Use `LOG_CALLSTACK()` (Linux only) to log the current stacktrace. To log to an alternate file (e.g. stderr) use `LOG_CALLSTACK_TO_FILE(FILE*)`. Requires `-no-pie` ([ref](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860394#15)): > rm -rf build/ - make CMAKE_EXTRA_FLAGS="-DLOG_DEBUG -DCMAKE_C_FLAGS=-no-pie" + make CMAKE_BUILD_TYPE=Debug CMAKE_EXTRA_FLAGS="-DCMAKE_C_FLAGS=-no-pie" Many log messages have a shared prefix, such as "UI" or "RPC". Use the shell to filter the log, e.g. at DEBUG level you might want to exclude UI messages: >