aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.