summaryrefslogtreecommitdiff
path: root/lua/lvim
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lvim')
-rw-r--r--lua/lvim/bootstrap.lua2
-rw-r--r--lua/lvim/core/illuminate.lua6
-rw-r--r--lua/lvim/core/notify.lua2
-rw-r--r--lua/lvim/lsp/utils.lua6
-rw-r--r--lua/lvim/utils/hooks.lua2
5 files changed, 9 insertions, 9 deletions
diff --git a/lua/lvim/bootstrap.lua b/lua/lvim/bootstrap.lua
index 113c3f71..e0b781d7 100644
--- a/lua/lvim/bootstrap.lua
+++ b/lua/lvim/bootstrap.lua
@@ -70,7 +70,7 @@ function M:init(base_dir)
self.packer_install_dir = join_paths(self.runtime_dir, "site", "pack", "packer", "start", "packer.nvim")
self.packer_cache_path = join_paths(self.config_dir, "plugin", "packer_compiled.lua")
- ---@meta overridden to use LUNARVIM_CACHE_DIR instead, since a lot of plugins call this function interally
+ ---@meta overridden to use LUNARVIM_CACHE_DIR instead, since a lot of plugins call this function internally
---NOTE: changes to "data" are currently unstable, see #2507
vim.fn.stdpath = function(what)
if what == "cache" then
diff --git a/lua/lvim/core/illuminate.lua b/lua/lvim/core/illuminate.lua
index e0c8c775..b2e2880b 100644
--- a/lua/lvim/core/illuminate.lua
+++ b/lua/lvim/core/illuminate.lua
@@ -29,17 +29,17 @@ M.config = function()
"DressingSelect",
"TelescopePrompt",
},
- -- filetypes_allowlist: filetypes to illuminate, this is overriden by filetypes_denylist
+ -- filetypes_allowlist: filetypes to illuminate, this is overridden by filetypes_denylist
filetypes_allowlist = {},
-- modes_denylist: modes to not illuminate, this overrides modes_allowlist
modes_denylist = {},
- -- modes_allowlist: modes to illuminate, this is overriden by modes_denylist
+ -- modes_allowlist: modes to illuminate, this is overridden by modes_denylist
modes_allowlist = {},
-- providers_regex_syntax_denylist: syntax to not illuminate, this overrides providers_regex_syntax_allowlist
-- Only applies to the 'regex' provider
-- Use :echom synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')
providers_regex_syntax_denylist = {},
- -- providers_regex_syntax_allowlist: syntax to illuminate, this is overriden by providers_regex_syntax_denylist
+ -- providers_regex_syntax_allowlist: syntax to illuminate, this is overridden by providers_regex_syntax_denylist
-- Only applies to the 'regex' provider
-- Use :echom synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')
providers_regex_syntax_allowlist = {},
diff --git a/lua/lvim/core/notify.lua b/lua/lvim/core/notify.lua
index 2db4c4d5..72133c27 100644
--- a/lua/lvim/core/notify.lua
+++ b/lua/lvim/core/notify.lua
@@ -43,7 +43,7 @@ function M.config()
defaults.opts.icons = {
ERROR = "[ERROR]",
WARN = "[WARNING]",
- INFO = "[INFo]",
+ INFO = "[INFO]",
DEBUG = "[DEBUG]",
TRACE = "[TRACE]",
}
diff --git a/lua/lvim/lsp/utils.lua b/lua/lvim/lsp/utils.lua
index c2ffe3fa..53571f20 100644
--- a/lua/lvim/lsp/utils.lua
+++ b/lua/lvim/lsp/utils.lua
@@ -120,7 +120,7 @@ function M.setup_document_highlight(client, bufnr)
end
function M.setup_document_symbols(client, bufnr)
- vim.g.navic_silence = false -- can be set to true to supress error
+ vim.g.navic_silence = false -- can be set to true to suppress error
local symbols_supported = client.supports_method "textDocument/documentSymbol"
if not symbols_supported then
Log:debug("skipping setup for document_symbols, method not supported by " .. client.name)
@@ -167,9 +167,9 @@ function M.format_filter(client)
local n = require "null-ls"
local s = require "null-ls.sources"
local method = n.methods.FORMATTING
- local avalable_formatters = s.get_available(filetype, method)
+ local available_formatters = s.get_available(filetype, method)
- if #avalable_formatters > 0 then
+ if #available_formatters > 0 then
return client.name == "null-ls"
elseif client.supports_method "textDocument/formatting" then
return true
diff --git a/lua/lvim/utils/hooks.lua b/lua/lvim/utils/hooks.lua
index 00b07afb..fd78ef19 100644
--- a/lua/lvim/utils/hooks.lua
+++ b/lua/lvim/utils/hooks.lua
@@ -63,7 +63,7 @@ function M.run_post_update()
end)
local ret = require_clean("lvim.utils.git").switch_lvim_branch(compat_tag)
if ret then
- vim.notify("Reverted to the last known compatibile version: " .. compat_tag, vim.log.levels.WARN)
+ vim.notify("Reverted to the last known compatible version: " .. compat_tag, vim.log.levels.WARN)
end
return
end