Skip to content

Commit

Permalink
chore: migrate old urls
Browse files Browse the repository at this point in the history
  • Loading branch information
mochaaP committed Aug 30, 2023
1 parent 85f3cf7 commit 1aee1da
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 32 deletions.
44 changes: 22 additions & 22 deletions doc/BUILTINS.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ local sources = { null_ls.builtins.diagnostics.actionlint }
- Filetypes: `{ "yaml" }`
- Method: `diagnostics`
- Command: `actionlint`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/diagnostics/actionlint.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/diagnostics/actionlint.lua))

### [alex](https://github.com/get-alex/alex)

Expand Down Expand Up @@ -788,7 +788,7 @@ local sources = { null_ls.builtins.diagnostics.cspell }
- Filetypes: `{}`
- Method: `diagnostics`
- Command: `cspell`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/diagnostics/cspell.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/diagnostics/cspell.lua))

### [cue_fmt](https://github.com/cue-lang/cue)

Expand Down Expand Up @@ -1349,7 +1349,7 @@ local sources = { null_ls.builtins.diagnostics.mypy }
- Filetypes: `{ "python" }`
- Method: `diagnostics`
- Command: `mypy`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/diagnostics/mypy.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/diagnostics/mypy.lua))

### [npm_groovy_lint](https://github.com/nvuillam/npm-groovy-lint)

Expand Down Expand Up @@ -1649,7 +1649,7 @@ local sources = { null_ls.builtins.diagnostics.pydocstyle }

#### Notes

- May fail to resolve config files. See [the wiki](https://github.com/jose-elias-alvarez/null-ls.nvim/wiki/Source-specific-Configuration#pydocstyle) for workarounds.
- May fail to resolve config files. See [the wiki](https://github.com/nvimtools/nil-ls.nvim/wiki/Source-specific-Configuration#pydocstyle) for workarounds.

### [pylama](https://github.com/klen/pylama)

Expand Down Expand Up @@ -2214,7 +2214,7 @@ local sources = { null_ls.builtins.diagnostics.tidy }
- Filetypes: `{ "html", "xml" }`
- Method: `diagnostics`
- Command: `tidy`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/diagnostics/tidy.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/diagnostics/tidy.lua))

### todo_comments

Expand Down Expand Up @@ -2329,7 +2329,7 @@ local sources = { null_ls.builtins.diagnostics.vale }
- Filetypes: `{ "markdown", "tex", "asciidoc" }`
- Method: `diagnostics`
- Command: `vale`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/diagnostics/vale.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/diagnostics/vale.lua))

#### Notes

Expand Down Expand Up @@ -2538,7 +2538,7 @@ local sources = { null_ls.builtins.formatting.autopep8 }
- Filetypes: `{ "python" }`
- Methods: `formatting, range_formatting`
- Command: `autopep8`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/formatting/autopep8.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/formatting/autopep8.lua))

### [bean_format](https://beancount.github.io/docs/running_beancount_and_generating_reports.html#bean-format)

Expand Down Expand Up @@ -2814,7 +2814,7 @@ local sources = { null_ls.builtins.formatting.clang_format }
- Filetypes: `{ "c", "cpp", "cs", "java", "cuda", "proto" }`
- Methods: `formatting, range_formatting`
- Command: `clang-format`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/formatting/clang_format.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/formatting/clang_format.lua))

### [cljstyle](https://github.com/greglook/cljstyle)

Expand Down Expand Up @@ -2971,7 +2971,7 @@ local sources = {
- Filetypes: `{ "javascript", "javascriptreact", "json", "jsonc", "markdown", "typescript", "typescriptreact" }`
- Method: `formatting`
- Command: `deno`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/formatting/deno_fmt.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/formatting/deno_fmt.lua))

#### Notes

Expand Down Expand Up @@ -3080,7 +3080,7 @@ local sources = { null_ls.builtins.formatting.emacs_scheme_mode }
- Filetypes: `{ "scheme", "scheme.guile" }`
- Method: `formatting`
- Command: `emacs`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/formatting/emacs_scheme_mode.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/formatting/emacs_scheme_mode.lua))

#### Notes

Expand All @@ -3101,7 +3101,7 @@ local sources = { null_ls.builtins.formatting.emacs_vhdl_mode }
- Filetypes: `{ "vhdl" }`
- Method: `formatting`
- Command: `emacs`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/formatting/emacs_vhdl_mode.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/formatting/emacs_vhdl_mode.lua))

#### Notes

Expand Down Expand Up @@ -3298,7 +3298,7 @@ local sources = { null_ls.builtins.formatting.format_r }
- Filetypes: `{ "r", "rmd" }`
- Method: `formatting`
- Command: `R`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/formatting/format_r.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/formatting/format_r.lua))

### [fourmolu](https://hackage.haskell.org/package/fourmolu)

Expand Down Expand Up @@ -4025,7 +4025,7 @@ local sources = { null_ls.builtins.formatting.prettier }
- Filetypes: `{ "javascript", "javascriptreact", "typescript", "typescriptreact", "vue", "css", "scss", "less", "html", "json", "jsonc", "yaml", "markdown", "markdown.mdx", "graphql", "handlebars" }`
- Methods: `formatting, range_formatting`
- Command: `prettier`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/formatting/prettier.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/formatting/prettier.lua))

#### Notes

Expand All @@ -4047,7 +4047,7 @@ local sources = { null_ls.builtins.formatting.prettierd }
- Filetypes: `{ "javascript", "javascriptreact", "typescript", "typescriptreact", "vue", "css", "scss", "less", "html", "json", "jsonc", "yaml", "markdown", "markdown.mdx", "graphql", "handlebars" }`
- Methods: `formatting, range_formatting`
- Command: `prettierd`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/formatting/prettierd.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/formatting/prettierd.lua))

### [prettier_d_slim](https://github.com/mikew/prettier_d_slim)

Expand All @@ -4064,7 +4064,7 @@ local sources = { null_ls.builtins.formatting.prettier_d_slim }
- Filetypes: `{ "javascript", "javascriptreact", "typescript", "typescriptreact", "vue", "css", "scss", "less", "html", "json", "jsonc", "yaml", "markdown", "markdown.mdx", "graphql", "handlebars" }`
- Methods: `formatting, range_formatting`
- Command: `prettier_d_slim`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/formatting/prettier_d_slim.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/formatting/prettier_d_slim.lua))

#### Notes

Expand Down Expand Up @@ -4230,7 +4230,7 @@ local sources = { null_ls.builtins.formatting.pyink }
- Filetypes: `{ "python" }`
- Methods: `formatting, range_formatting`
- Command: `pyink`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/formatting/pyink.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/formatting/pyink.lua))

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

Expand Down Expand Up @@ -4362,7 +4362,7 @@ local sources = { null_ls.builtins.formatting.rescript }
- Filetypes: `{ "rescript" }`
- Method: `formatting`
- Command: `rescript`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/formatting/rescript.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/formatting/rescript.lua))

### [rome](https://rome.tools)

Expand Down Expand Up @@ -4477,7 +4477,7 @@ local sources = { null_ls.builtins.formatting.rustfmt }
#### Notes

- `--edition` defaults to `2015`. To set a different edition, use `extra_args`.
- See [the wiki](https://github.com/jose-elias-alvarez/null-ls.nvim/wiki/Source-specific-Configuration#rustfmt) for other workarounds.
- See [the wiki](https://github.com/nvimtools/nil-ls.nvim/wiki/Source-specific-Configuration#rustfmt) for other workarounds.

### [rustywind](https://github.com/avencera/rustywind)

Expand Down Expand Up @@ -4743,7 +4743,7 @@ local sources = { null_ls.builtins.formatting.styler }
- Filetypes: `{ "r", "rmd" }`
- Method: `formatting`
- Command: `R`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/formatting/styler.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/formatting/styler.lua))

### [stylish_haskell](https://github.com/haskell/stylish-haskell)

Expand Down Expand Up @@ -4777,7 +4777,7 @@ local sources = { null_ls.builtins.formatting.stylua }
- Filetypes: `{ "lua", "luau" }`
- Methods: `formatting, range_formatting`
- Command: `stylua`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/formatting/stylua.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/formatting/stylua.lua))

### [surface](https://hexdocs.pm/surface_formatter/readme.html)

Expand Down Expand Up @@ -5022,7 +5022,7 @@ local sources = { null_ls.builtins.formatting.uncrustify }
- Filetypes: `{ "c", "cpp", "cs", "java" }`
- Method: `formatting`
- Command: `uncrustify`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/formatting/uncrustify.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/formatting/uncrustify.lua))

### [usort](https://github.com/facebookexperimental/usort)

Expand Down Expand Up @@ -5158,7 +5158,7 @@ local sources = { null_ls.builtins.formatting.yapf }
- Filetypes: `{ "python" }`
- Methods: `formatting, range_formatting`
- Command: `yapf`
- Args: dynamically resolved (see [source](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/formatting/yapf.lua))
- Args: dynamically resolved (see [source](https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/formatting/yapf.lua))

### [yq](https://github.com/mikefarah/yq)

Expand Down
2 changes: 1 addition & 1 deletion doc/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ showing how to install it and its dependencies using

```lua
use({
"jose-elias-alvarez/null-ls.nvim",
"nvimtools/nil-ls.nvim",
config = function()
require("null-ls").setup()
end,
Expand Down
2 changes: 1 addition & 1 deletion lua/null-ls/builtins/diagnostics/checkstyle.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ local function parse_checkstyle_errors(params, output)
if params.err:match("Must specify a config XML file.") then
table.insert(output, {
message = "You need to specify a configuration for checkstyle."
.. " See https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/doc/BUILTINS.md#checkstyle",
.. " See https://github.com/nvimtools/nil-ls.nvim/blob/main/doc/BUILTINS.md#checkstyle",
severity = vim.diagnostic.severity.ERROR,
bufnr = params.bufnr,
})
Expand Down
2 changes: 1 addition & 1 deletion lua/null-ls/builtins/diagnostics/pmd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ local function parse_pmd_error(params, line, output)
if line:match("The following option is required: %-%-rulesets") then
table.insert(output, {
message = "You need to specify a ruleset for PMD."
.. " See https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/doc/BUILTINS.md#pmd",
.. " See https://github.com/nvimtools/nil-ls.nvim/blob/main/doc/BUILTINS.md#pmd",
severity = vim.diagnostic.severity.ERROR,
bufnr = params.bufnr,
})
Expand Down
2 changes: 1 addition & 1 deletion lua/null-ls/builtins/diagnostics/pydocstyle.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ return h.make_builtin({
url = "https://www.pydocstyle.org/",
description = "pydocstyle is a static analysis tool for checking compliance with Python docstring conventions.",
notes = {
"May fail to resolve config files. See [the wiki](https://github.com/jose-elias-alvarez/null-ls.nvim/wiki/Source-specific-Configuration#pydocstyle) for workarounds.",
"May fail to resolve config files. See [the wiki](https://github.com/nvimtools/nil-ls.nvim/wiki/Source-specific-Configuration#pydocstyle) for workarounds.",
},
},
method = DIAGNOSTICS,
Expand Down
2 changes: 1 addition & 1 deletion lua/null-ls/builtins/formatting/rustfmt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ return h.make_builtin({
description = "A tool for formatting rust code according to style guidelines.",
notes = {
"`--edition` defaults to `2015`. To set a different edition, use `extra_args`.",
"See [the wiki](https://github.com/jose-elias-alvarez/null-ls.nvim/wiki/Source-specific-Configuration#rustfmt) for other workarounds.",
"See [the wiki](https://github.com/nvimtools/nil-ls.nvim/wiki/Source-specific-Configuration#rustfmt) for other workarounds.",
},
},
method = FORMATTING,
Expand Down
2 changes: 1 addition & 1 deletion lua/null-ls/info.lua
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ M.show_window = function(opts)

local header = {
"null-ls",
"https://github.com/jose-elias-alvarez/null-ls.nvim",
"https://github.com/nvimtools/nil-ls.nvim",
}
table.insert(highlights, { "NullLsInfoHeader", header[1] })

Expand Down
2 changes: 1 addition & 1 deletion scripts/autogen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ local BUILTINS_DIR = join_paths(NULL_LS_DIR, "lua", "null-ls", "builtins")
local META_DIR = join_paths(BUILTINS_DIR, "_meta")
local DOC_FILE = join_paths(NULL_LS_DIR, "doc", "BUILTINS.md")
local BUILTINS_URL_TEMPLATE =
"https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/%s/%s.lua"
"https://github.com/nvimtools/nil-ls.nvim/blob/main/lua/null-ls/builtins/%s/%s.lua"

-- metadata
local sources = {}
Expand Down
2 changes: 1 addition & 1 deletion scripts/minimal_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ local function load_plugins()
{
"wbthomason/packer.nvim",
{
"jose-elias-alvarez/null-ls.nvim",
"nvimtools/nil-ls.nvim",
requires = { "nvim-lua/plenary.nvim" },
config = null_ls_config,
},
Expand Down
4 changes: 2 additions & 2 deletions test/spec/builtins/diagnostics_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1650,7 +1650,7 @@ describe("diagnostics", function()
assert.same({
{
message = "You need to specify a configuration for checkstyle. See"
.. " https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/doc/BUILTINS.md#checkstyle",
.. " https://github.com/nvimtools/nil-ls.nvim/blob/main/doc/BUILTINS.md#checkstyle",
severity = vim.diagnostic.severity.ERROR,
bufnr = 42,
},
Expand Down Expand Up @@ -1905,7 +1905,7 @@ Run with --help for command line help.]],
assert.same({
{
message = "You need to specify a ruleset for PMD. See"
.. " https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/doc/BUILTINS.md#pmd",
.. " https://github.com/nvimtools/nil-ls.nvim/blob/main/doc/BUILTINS.md#pmd",
severity = vim.diagnostic.severity.ERROR,
bufnr = 42,
},
Expand Down

0 comments on commit 1aee1da

Please sign in to comment.