From 57e92b04e231446c1f1ab111244299b552bf7a9c Mon Sep 17 00:00:00 2001 From: Zhizhen He Date: Sun, 12 Feb 2023 00:10:39 +0800 Subject: [PATCH] style: fix comment typo (#243) --- lua/lazyvim/plugins/lsp/init.lua | 2 +- lua/lazyvim/util/init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/lazyvim/plugins/lsp/init.lua b/lua/lazyvim/plugins/lsp/init.lua index 7f201d88..280edd97 100644 --- a/lua/lazyvim/plugins/lsp/init.lua +++ b/lua/lazyvim/plugins/lsp/init.lua @@ -28,7 +28,7 @@ return { autoformat = true, -- options for vim.lsp.buf.format -- `bufnr` and `filter` is handled by the LazyVim formatter, - -- but can be also overriden when specified + -- but can be also overridden when specified format = { formatting_options = nil, timeout_ms = nil, diff --git a/lua/lazyvim/util/init.lua b/lua/lazyvim/util/init.lua index e9d9fdf8..4b5f92ca 100644 --- a/lua/lazyvim/util/init.lua +++ b/lua/lazyvim/util/init.lua @@ -72,7 +72,7 @@ function M.get_root() end -- this will return a function that calls telescope. --- cwd will defautlt to lazyvim.util.get_root +-- cwd will default to lazyvim.util.get_root -- for `files`, git_files or find_files will be chosen depending on .git function M.telescope(builtin, opts) local params = { builtin = builtin, opts = opts }