Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
hezhizhen committed Oct 4, 2023
1 parent f39f627 commit 3cfcfcd
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion doc/BUILTINS.md
Original file line number Diff line number Diff line change
Expand Up @@ -1661,7 +1661,7 @@ local sources = { null_ls.builtins.diagnostics.pyproject_flake8 }

### [qmllint](https://doc-snapshots.qt.io/qt6-dev/qtquick-tools-and-utilities.html#qmllint)

qmllint is a tool shipped with Qt that verifies the syntatic validity of QML files. It also warns about some QML anti-patterns.
qmllint is a tool shipped with Qt that verifies the syntactic validity of QML files. It also warns about some QML anti-patterns.

#### Usage

Expand Down
2 changes: 1 addition & 1 deletion doc/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ local diagnostic = {
`bufnr` so null-ls can then publish diagnostics properly. If specified,
`filename` should be an absolute path.

- To prevent peformance issues, multi-file sources should default to the
- To prevent performance issues, multi-file sources should default to the
`ON_SAVE` method.

### Configuration
Expand Down
2 changes: 1 addition & 1 deletion doc/MAIN.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ second argument. Processing will pause until all async generators have called
local my_source = {}

my_source.generator = {
-- must be explictly set
-- must be explicitly set
async = true,
fn = function(params, done)
-- always return done() to prevent timeouts
Expand Down
2 changes: 1 addition & 1 deletion lua/null-ls/builtins/code_actions/impl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ return h.make_builtin({
end

-- Save file before execution, because impl looks for type and its methods and
-- calculates diff between implemeted methods and interface methods and implements missing methods.
-- calculates diff between implemented methods and interface methods and implements missing methods.
-- Do not trigger autocmds, they can format buffer and TS nodes will invalidate.
vim.cmd("noa w")
local receiver = get_receiver(type_spec_node, receiver_type)
Expand Down
2 changes: 1 addition & 1 deletion lua/null-ls/builtins/diagnostics/protolint.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ return h.make_builtin({
end

for _, issue in ipairs(decoded.lints or {}) do
-- We're forced to use to_temp_file since Protolint dosen't accept stdin input.
-- We're forced to use to_temp_file since Protolint doesn't accept stdin input.
-- Due to the naming of temp files Protolint triggers 'FILE_NAMES_LOWER_SNAKE_CASE' error.
-- As a dirty quickfix we simple skip this.
if issue.rule ~= "FILE_NAMES_LOWER_SNAKE_CASE" then
Expand Down
2 changes: 1 addition & 1 deletion lua/null-ls/builtins/diagnostics/qmllint.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ return h.make_builtin({
name = "qmllint",
meta = {
url = "https://doc-snapshots.qt.io/qt6-dev/qtquick-tools-and-utilities.html#qmllint",
description = "qmllint is a tool shipped with Qt that verifies the syntatic validity of QML files. It also warns about some QML anti-patterns.",
description = "qmllint is a tool shipped with Qt that verifies the syntactic validity of QML files. It also warns about some QML anti-patterns.",
},
method = DIAGNOSTICS,
filetypes = { "qml" },
Expand Down

0 comments on commit 3cfcfcd

Please sign in to comment.