diff options
| author | dundargoc <[email protected]> | 2022-02-18 15:17:17 +0100 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2022-02-18 17:47:17 +0330 | 
| commit | 4400e39a69dce6c2a63b391242e38f781e35025d (patch) | |
| tree | 6e935a21b7e07339299d6b0348b90cbc3b7d5ded | |
| parent | 3d4d9db850b6cb9e3eff08d93d95da8b6f97a70c (diff) | |
chore: fix typos (#2292)
| -rw-r--r-- | lua/lvim/core/telescope.lua | 2 | ||||
| -rw-r--r-- | lua/lvim/core/which-key.lua | 2 | ||||
| -rw-r--r-- | lua/lvim/interface/text.lua | 2 | ||||
| -rw-r--r-- | lua/lvim/keymappings.lua | 2 | ||||
| -rw-r--r-- | lua/lvim/utils.lua | 2 | ||||
| -rw-r--r-- | tests/specs/bootstrap_spec.lua | 4 | ||||
| -rw-r--r-- | tests/specs/lsp_spec.lua | 10 | ||||
| -rw-r--r-- | utils/docker/Dockerfile.local | 2 | ||||
| -rw-r--r-- | utils/docker/Dockerfile.remote | 2 | ||||
| -rwxr-xr-x | utils/installer/install-neovim-from-release | 2 | 
10 files changed, 15 insertions, 15 deletions
| diff --git a/lua/lvim/core/telescope.lua b/lua/lvim/core/telescope.lua index 44aed88b..2c9ef1e7 100644 --- a/lua/lvim/core/telescope.lua +++ b/lua/lvim/core/telescope.lua @@ -4,7 +4,7 @@ function M.config()    -- Define this minimal config so that it's available if telescope is not yet available.    lvim.builtin.telescope = { -    ---@usage disable telescope completely [not recommeded] +    ---@usage disable telescope completely [not recommended]      active = true,      on_config_done = nil,    } diff --git a/lua/lvim/core/which-key.lua b/lua/lvim/core/which-key.lua index 75169567..f169a234 100644 --- a/lua/lvim/core/which-key.lua +++ b/lua/lvim/core/which-key.lua @@ -2,7 +2,7 @@ local M = {}  M.config = function()    lvim.builtin.which_key = { -    ---@usage disable which-key completely [not recommeded] +    ---@usage disable which-key completely [not recommended]      active = true,      on_config_done = nil,      setup = { diff --git a/lua/lvim/interface/text.lua b/lua/lvim/interface/text.lua index 6bf280e8..0266d520 100644 --- a/lua/lvim/interface/text.lua +++ b/lua/lvim/interface/text.lua @@ -56,7 +56,7 @@ end  --- Pretty format tables  -- @param entries The table to format  -- @param col_count The number of column to span the table on --- @param col_sep The separator between each colummn, default: " " +-- @param col_sep The separator between each column, default: " "  function M.format_table(entries, col_count, col_sep)    col_sep = col_sep or " " diff --git a/lua/lvim/keymappings.lua b/lua/lvim/keymappings.lua index 19f638e4..62a351ee 100644 --- a/lua/lvim/keymappings.lua +++ b/lua/lvim/keymappings.lua @@ -133,7 +133,7 @@ function M.clear(keymaps)    for mode, mappings in pairs(keymaps) do      local translated_mode = mode_adapters[mode] or mode      for key, _ in pairs(mappings) do -      -- some plugins may override default bindings that the user hasn't manually overriden +      -- some plugins may override default bindings that the user hasn't manually overridden        if default[mode][key] ~= nil or (default[translated_mode] ~= nil and default[translated_mode][key] ~= nil) then          pcall(vim.api.nvim_del_keymap, translated_mode, key)        end diff --git a/lua/lvim/utils.lua b/lua/lvim/utils.lua index 74bac43f..71ede6e6 100644 --- a/lua/lvim/utils.lua +++ b/lua/lvim/utils.lua @@ -58,7 +58,7 @@ function M.generate_settings()  end  --- Returns a table with the default values that are missing. ---- either paramter can be empty. +--- either parameter can be empty.  --@param config (table) table containing entries that take priority over defaults  --@param default_config (table) table contatining default values if found  function M.apply_defaults(config, default_config) diff --git a/tests/specs/bootstrap_spec.lua b/tests/specs/bootstrap_spec.lua index b866e4d4..94dd31b1 100644 --- a/tests/specs/bootstrap_spec.lua +++ b/tests/specs/bootstrap_spec.lua @@ -6,12 +6,12 @@ a.describe("initial start", function()    local lvim_config_path = get_config_dir() or home_dir .. "/.config/lvim"    local lvim_runtime_path = get_runtime_dir() or home_dir .. "/.local/share/lunarvim" -  a.it("shoud be able to detect test environment", function() +  a.it("should be able to detect test environment", function()      assert.truthy(os.getenv "LVIM_TEST_ENV")      assert.falsy(package.loaded["lvim.impatient"])    end) -  a.it("should not be reading default neovim directories in the home directoies", function() +  a.it("should not be reading default neovim directories in the home directories", function()      local rtp_list = vim.opt.rtp:get()      assert.falsy(vim.tbl_contains(rtp_list, vim.fn.stdpath "config"))    end) diff --git a/tests/specs/lsp_spec.lua b/tests/specs/lsp_spec.lua index 633aa17c..388a24bb 100644 --- a/tests/specs/lsp_spec.lua +++ b/tests/specs/lsp_spec.lua @@ -8,14 +8,14 @@ a.describe("lsp workflow", function()    local Log = require "lvim.core.log"    local logfile = Log:get_path() -  a.it("shoud be able to delete ftplugin templates", function() +  a.it("should be able to delete ftplugin templates", function()      if utils.is_directory(lvim.lsp.templates_dir) then        assert.equal(vim.fn.delete(lvim.lsp.templates_dir, "rf"), 0)      end      assert.False(utils.is_directory(lvim.lsp.templates_dir))    end) -  a.it("shoud be able to generate ftplugin templates", function() +  a.it("should be able to generate ftplugin templates", function()      if utils.is_directory(lvim.lsp.templates_dir) then        assert.equal(vim.fn.delete(lvim.lsp.templates_dir, "rf"), 0)      end @@ -27,7 +27,7 @@ a.describe("lsp workflow", function()      end)    end) -  a.it("shoud not attempt to re-generate ftplugin templates", function() +  a.it("should not attempt to re-generate ftplugin templates", function()      lvim.log.level = "debug"      local plugins = require "lvim.plugins" @@ -46,7 +46,7 @@ a.describe("lsp workflow", function()      end)    end) -  a.it("shoud not include blacklisted servers in the generated templates", function() +  a.it("should not include blacklisted servers in the generated templates", function()      assert.True(utils.is_directory(lvim.lsp.templates_dir))      require("lvim.lsp").setup() @@ -57,7 +57,7 @@ a.describe("lsp workflow", function()      end    end) -  a.it("shoud only include one server per generated template", function() +  a.it("should only include one server per generated template", function()      assert.True(utils.is_directory(lvim.lsp.templates_dir))      require("lvim.lsp").setup() diff --git a/utils/docker/Dockerfile.local b/utils/docker/Dockerfile.local index c219e34f..ed4a67f3 100644 --- a/utils/docker/Dockerfile.local +++ b/utils/docker/Dockerfile.local @@ -20,7 +20,7 @@ RUN apt update && \    /LunarVim/utils/installer/install-neovim-from-release && \    /LunarVim/utils/installer/install.sh --local --no-install-dependencies -# Setup LVIM to run on starup +# Setup LVIM to run on startup  ENTRYPOINT ["/bin/bash"]  CMD ["lvim"] diff --git a/utils/docker/Dockerfile.remote b/utils/docker/Dockerfile.remote index 94765c48..179a5a42 100644 --- a/utils/docker/Dockerfile.remote +++ b/utils/docker/Dockerfile.remote @@ -20,7 +20,7 @@ RUN apt update && \    curl -LSs https://raw.githubusercontent.com/lunarvim/lunarvim/${LV_BRANCH}/utils/installer/install-neovim-from-release | bash && \    LV_BRANCH=${LV_BRANCH} curl -LSs https://raw.githubusercontent.com/lunarvim/lunarvim/${LV_BRANCH}/utils/installer/install.sh | bash -s -- --no-install-dependencies -# Setup LVIM to run on starup +# Setup LVIM to run on startup  ENTRYPOINT ["/bin/bash"]  CMD ["lvim"] diff --git a/utils/installer/install-neovim-from-release b/utils/installer/install-neovim-from-release index e20a4804..e98b1aee 100755 --- a/utils/installer/install-neovim-from-release +++ b/utils/installer/install-neovim-from-release @@ -55,7 +55,7 @@ function verify_neovim() {    DOWNLOADED_SHA="$(openssl dgst -sha256 "$DOWNLOAD_DIR/$ARCHIVE_NAME.tar.gz" | awk '{print $2}')"    if [ "$RELEASE_SHA" != "$DOWNLOADED_SHA" ]; then -    echo "Error! checksum mis-match." +    echo "Error! checksum mismatch."      echo "Expected: $RELEASE_SHA but got: $DOWNLOADED_SHA"      exit 1    fi | 
