Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxGyver83 committed Mar 18, 2024
1 parent 8fccd1b commit d1288cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lua/plugins/complete-filename.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions vis.h
Original file line number Diff line number Diff line change
Expand Up @@ -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*);
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit d1288cf

Please sign in to comment.