Ver código fonte

fix(typo): `form` to `from` (#4295)

fix(comment): from `form` to `from`.
Alexis Corporal 2 anos atrás
pai
commit
17a96268f7
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      lua/lvim/plugins.lua

+ 1 - 1
lua/lvim/plugins.lua

@@ -362,7 +362,7 @@ local default_snapshot_path = join_paths(get_lvim_base_dir(), "snapshots", "defa
 local content = vim.fn.readfile(default_snapshot_path)
 local default_sha1 = assert(vim.fn.json_decode(content))
 
--- taken form <https://github.com/folke/lazy.nvim/blob/c7122d64cdf16766433588486adcee67571de6d0/lua/lazy/core/plugin.lua#L27>
+-- taken from <https://github.com/folke/lazy.nvim/blob/c7122d64cdf16766433588486adcee67571de6d0/lua/lazy/core/plugin.lua#L27>
 local get_short_name = function(long_name)
   local name = long_name:sub(-4) == ".git" and long_name:sub(1, -5) or long_name
   local slash = name:reverse():find("/", 1, true) --[[@as number?]]