Fix: correct typos (#3117)

This commit is contained in:
chaesngmin 2022-10-03 10:19:59 +09:00 committed by GitHub
parent 3008c75298
commit 6a72ad281e
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 10 deletions

View file

@ -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

View file

@ -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 = {},

View file

@ -43,7 +43,7 @@ function M.config()
defaults.opts.icons = {
ERROR = "[ERROR]",
WARN = "[WARNING]",
INFO = "[INFo]",
INFO = "[INFO]",
DEBUG = "[DEBUG]",
TRACE = "[TRACE]",
}

View file

@ -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

View file

@ -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

View file

@ -59,7 +59,7 @@ a.describe("plugin-loader", function()
_G.completed = false
_G.verify_sha = function()
if _G.locked_sha ~= get_current_sha(plugin.path) then
error "unmached results!"
error "unmatched results!"
else
_G.completed = true
end