aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/README.md3
-rw-r--r--src/nvim/grid_defs.h2
-rw-r--r--src/nvim/marktree.c2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/README.md b/src/nvim/README.md
index 4029777031..b484d59cb3 100644
--- a/src/nvim/README.md
+++ b/src/nvim/README.md
@@ -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
diff --git a/src/nvim/grid_defs.h b/src/nvim/grid_defs.h
index 100d648263..c65c273d57 100644
--- a/src/nvim/grid_defs.h
+++ b/src/nvim/grid_defs.h
@@ -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;
diff --git a/src/nvim/marktree.c b/src/nvim/marktree.c
index ff82c59783..8ab9370e6c 100644
--- a/src/nvim/marktree.c
+++ b/src/nvim/marktree.c
@@ -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;