aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Schillinger <maxschillinger@web.de>2024-03-18 10:06:06 +0100
committerFelix Van der Jeugt <felix.vanderjeugt@posteo.net>2024-03-21 08:08:22 +0100
commitfaa4089aea22ed390326f8d07b129ede04995087 (patch)
tree6d057437b8fc77d2220b831b49913d7954e006f4
parent8fccd1bbe671e5994f71345c2634acf221fabdab (diff)
downloadvis-faa4089aea22ed390326f8d07b129ede04995087.tar.gz
vis-faa4089aea22ed390326f8d07b129ede04995087.tar.xz
Fix typos
-rw-r--r--lua/plugins/complete-filename.lua2
-rw-r--r--vis.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/lua/plugins/complete-filename.lua b/lua/plugins/complete-filename.lua
index e8724b0..70431b6 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 e0f6739..b67d3c5 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.