docs: small fixes

Co-authored-by: Wansmer <wansmer@gmail.com>
Co-authored-by: Andrew Voynov <andrewvoynov.b@gmail.com>
Co-authored-by: David Moberg <david.moberg@mediatek.com>
This commit is contained in:
dundargoc
2023-09-15 09:43:48 +02:00
committed by dundargoc
parent fd39f5ce8c
commit c3d21ad1bc
10 changed files with 16 additions and 18 deletions

View File

@@ -209,7 +209,8 @@ not related to TUI rendering like so:
lldb -- ./build/bin/nvim --headless --listen ~/.cache/nvim/debug-server.pipe
You can then attach to the headless process to interact with the editor like so:
While in lldb, enter `run`. You can then attach to the headless process in a
new terminal window to interact with the editor like so:
./build/bin/nvim --remote-ui --server ~/.cache/nvim/debug-server.pipe

View File

@@ -12,7 +12,7 @@
// Includes final NUL. at least 4*(MAX_MCO+1)+1
#define MAX_SCHAR_SIZE 32
// if data[0] is 0xFF, then data[1..4] is a 24-bit index (in machine endianess)
// if data[0] is 0xFF, then data[1..4] is a 24-bit index (in machine endianness)
// otherwise it must be a UTF-8 string of length maximum 4 (no NUL when n=4)
typedef uint32_t schar_T;

View File

@@ -852,7 +852,7 @@ static void intersect_add(Intersection *x, Intersection *y)
}
}
// inplace assymetric difference: x &= ~y
// inplace asymmetric difference: x &= ~y
static void intersect_sub(Intersection *restrict x, Intersection *restrict y)
{
size_t xi = 0, yi = 0;