From d1288cf306dd040046acd1ea709ac603ecdcb7e7 Mon Sep 17 00:00:00 2001 From: Max Schillinger Date: Mon, 18 Mar 2024 10:06:06 +0100 Subject: [PATCH] Fix typos --- lua/plugins/complete-filename.lua | 2 +- vis.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/plugins/complete-filename.lua b/lua/plugins/complete-filename.lua index e8724b069..70431b670 100644 --- a/lua/plugins/complete-filename.lua +++ b/lua/plugins/complete-filename.lua @@ -12,7 +12,7 @@ local complete_filename = function(expand) local prefix = file:content(range) if not prefix then return end - -- Strip leading delimiters for some progamming languages + -- Strip leading delimiters for some programming languages local _, j = prefix:find("[{[(<'\"]+") if not expand and j then prefix = prefix:sub(j + 1) end diff --git a/vis.h b/vis.h index e0f6739b0..b67d3c5e0 100644 --- a/vis.h +++ b/vis.h @@ -115,7 +115,7 @@ Vis *vis_new(Ui*, VisEvent*); /** Free all resources associated with this editor instance, terminates UI. */ void vis_free(Vis*); /** - * Enter main loop, start processing user input. + * Enter main loop, start processing user input. * @return The editor exit status code. */ int vis_run(Vis*); @@ -191,7 +191,7 @@ void vis_update(Vis*); */ /** * Create a new window and load the given file. - * @param filename If ``NULL`` a unamed, empty buffer is created. + * @param filename If ``NULL`` an unnamed, empty buffer is created. * @rst * .. note:: If the given file name is already opened in another window, * the underlying File object is shared.