diff --git a/doc/BUILTINS.md b/doc/BUILTINS.md index 8935c7ba..82181b2d 100644 --- a/doc/BUILTINS.md +++ b/doc/BUILTINS.md @@ -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 diff --git a/doc/CONTRIBUTING.md b/doc/CONTRIBUTING.md index 6f378d0c..a6e7e152 100644 --- a/doc/CONTRIBUTING.md +++ b/doc/CONTRIBUTING.md @@ -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 diff --git a/doc/MAIN.md b/doc/MAIN.md index a1f148c9..5f123dc4 100644 --- a/doc/MAIN.md +++ b/doc/MAIN.md @@ -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 diff --git a/lua/null-ls/builtins/code_actions/impl.lua b/lua/null-ls/builtins/code_actions/impl.lua index 223f3dd4..13e23dc7 100644 --- a/lua/null-ls/builtins/code_actions/impl.lua +++ b/lua/null-ls/builtins/code_actions/impl.lua @@ -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) diff --git a/lua/null-ls/builtins/diagnostics/protolint.lua b/lua/null-ls/builtins/diagnostics/protolint.lua index 58a8c16f..0eed66d0 100644 --- a/lua/null-ls/builtins/diagnostics/protolint.lua +++ b/lua/null-ls/builtins/diagnostics/protolint.lua @@ -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 diff --git a/lua/null-ls/builtins/diagnostics/qmllint.lua b/lua/null-ls/builtins/diagnostics/qmllint.lua index f2195127..20b6cb4f 100644 --- a/lua/null-ls/builtins/diagnostics/qmllint.lua +++ b/lua/null-ls/builtins/diagnostics/qmllint.lua @@ -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" },