Commit graph

52 commits

Author SHA1 Message Date
Matt Sturgeon
d136c08f3a
plugins: normalise null plugin-defaults
Replaced all instances of `"null"` with `null`, when passing
plugin-defaults to `defaultNullOpts` functions.
2024-06-02 03:18:10 +01:00
traxys
62f32bfc71 treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
Gaetan Lepage
f2f97d844b misc: allow null in extraPackages 2024-04-24 08:10:51 +02:00
Gaetan Lepage
6f7b236f65 plugins/none-ls: update tools 2024-04-22 15:54:34 +02:00
Gaetan Lepage
2742dc091a plugins/none-ls: rename package nixfmt to nixfmt-classic 2024-04-09 10:42:58 +02:00
Gaetan Lepage
f05d5aaf3b plugins/none-ls: add new server htmlbeautifier 2024-04-09 10:42:58 +02:00
Gaetan Lepage
c8f97fc952 plugins/none-ls: update sources 2024-03-18 11:56:56 +01:00
Gaétan Lepage
a1636f620f
plugins/none-ls: Switch from assertions to warnings for none-ls tools maintenance (#1285) 2024-03-18 10:36:35 +01:00
Gaetan Lepage
ace360b5de plugins/none-ls: clean tools list w.r.t upstream 2024-03-07 14:52:18 +01:00
Gaetan Lepage
1748ebaf92 plugins/none-ls: automatic check for tools packages declaration 2024-03-07 14:52:18 +01:00
Gaetan Lepage
bb64e79de6 plugins/none-ls: add packages for supported builtin tools 2024-03-06 22:25:37 +01:00
Rob Hanlon
64d3996bd0
plugins/none-ls: fix withArgs type, syntax (#1182)
This was previously null or string, but was changed to null or Lua in
nix-community/nixvim#1169. Internally, `withArgs` is expected to be a
string, but `mkNullOrLua` applies `mkRaw`, leading to a type error when
generating the output, as it is attempting to interpolate a set rather
than a string.

Tested locally, and verified that it fixes my setup.
2024-03-03 11:39:13 +01:00
traxys
f9280a6865
plugin/none-ls: Implement all builtins (#1169)
* plugins/none-ls: Use upstream builtins.json to list sources

This avoids the need to define sources in nixvim. We only need to define
a mapping from source names to packages.

This commit does not yet introduce sources for the newly available builtins

* plugin/none-ls: Enable all known sources in tests

* plugins/none-ls: Add all missing sources
2024-03-01 13:24:14 +01:00
Gaetan Lepage
07e690abd4 plugins/none-ls: use php-codesniffer package instead of deprecated phpcbf 2024-02-28 09:30:26 +01:00
Nathan Felber
060a05138c Add ruff linter and formatter as none-ls source 2024-02-22 16:15:40 +01:00
James Taranto
be82033814 plugins/none-ls: add typos 2024-02-15 13:06:08 +01:00
Mateus Alves
81ff1f8f6f
plugins/none-ls: Add google_java_format as a source for none-ls (#1068)
Add google_java_format for none-ls sources.
2024-02-12 21:36:48 +01:00
James Taranto
2d7c834866 plugins/none-ls add stylelint 2024-02-12 11:09:23 +01:00
Mateus Alves
b0edf063c4
plugins/none-ls: add prettierd (#1058)
add prettierd formatter source for none-ls.
2024-02-12 08:40:11 +01:00
Mateus Alves
2b3581e41a
plugins/none-ls: add asmfmt (#1064)
Add an option to enable asmfmt in none-ls sources.
2024-02-11 21:49:33 +01:00
Gabriel Arazas
0b5800a2a2
docs: clean up descriptions (#1061) 2024-02-11 13:51:34 +01:00
Gaetan Lepage
7dbf7f978c plugins: do not import helpers.nix directly 2024-02-11 11:50:35 +01:00
Mateus Alves
9f3bbca7f1
plugins/none-ls: add astyle (#1056)
Add an option to enable astyle none-ls source.
2024-02-11 10:32:13 +01:00
Mateus Alves
66c069c48d
plugins/none-ls: add checkstyle (#1047)
Add an option to enable checkstyle none-ls source.
2024-02-10 07:05:57 +01:00
Gaetan Lepage
e2c3459d1d lib/helpers: extraOptionsOptions -> neovim-plugin.extraOptionsOptions 2024-01-28 23:39:14 +01:00
Coutinho de Souza
8b91bf010a
plugins/none-ls: add bean_format (#985) 2024-01-28 11:31:47 +01:00
Gaetan Lepage
bcbe244e54 plugins/none-ls: remove deprecated prettier_d_slim formatter 2024-01-22 13:41:54 +01:00
Geoffrey Frogeye
05fcc7ebe1
plugins/none-ls: add formatting/code_action source: ltrs (#953) 2024-01-20 19:07:30 +01:00
dankuri
1f73ae1d94
plugins/none-ls: add gofumpt and goimports_reviser (#945) 2024-01-16 23:55:02 +01:00
garaiza-93
0379ab34cc
plugins/none-ls: add bandit source (#925)
* plugins/none-ls: add bandit source

* plugins/none-ls: add test for bandit
2024-01-11 08:32:13 +01:00
traxys
1d8e7906c9
plugins: Introduce helpers.defaultNullOpts.mkLuaFn (#855)
This allows to avoid calling `mkRaw` on lua functions, as they will get
applied automatically.

This could also help in the future to refactor the use of Lua code to
make it more user-friendly.
2023-12-29 15:24:42 +01:00
Ariel D'Alessandro
08b055af7e feat: add laravel pint formating to none-ls 2023-12-24 17:32:43 +01:00
Mikael Fangel
310f1ad5b5 plugins/none-ls: init golines 2023-12-24 00:20:42 +01:00
Mikael Fangel
6e66c1bc5e plugins/none-ls: init goimports 2023-12-24 00:20:42 +01:00
Mikael Fangel
9119cc1554 plugins/none-ls: init staticcheck 2023-12-24 00:20:42 +01:00
Mikael Fangel
6e8bc402af plugins/none-ls: init revive 2023-12-24 00:20:42 +01:00
Gaetan Lepage
290855ed3d plugins: use mkSeverity where possible 2023-12-22 14:48:15 +01:00
budimanjojo
7e8250dc58 plugins/none-ls: add formatting source: trim_newlines & trim_whitespace 2023-12-08 09:35:09 +01:00
budimanjojo
ee7e489448 plugins/none-ls: add diagnostic source: yamllint 2023-12-08 09:35:09 +01:00
budimanjojo
19f5f81560 plugins/none-ls: add diagnostic source: write_good 2023-12-08 09:35:09 +01:00
budimanjojo
db8a3cfa10 plugins/none-ls: add diagnostic source: markdownlint 2023-12-08 09:35:09 +01:00
budimanjojo
5aea581d32 plugins/none-ls: add diagnostic source: ansiblelint 2023-12-08 09:35:09 +01:00
Gaetan Lepage
741dd36395 plugins/none-ls: fix warning with prettier 2023-12-02 20:29:28 +01:00
Gaetan Lepage
944a84b2c0 plugins/none-ls: add disableTsServerFormatter option 2023-12-02 18:07:19 +01:00
Gaetan Lepage
19b2792602 plugins/none-ls: formatting 2023-12-02 18:07:19 +01:00
Gaetan Lepage
27b0c6bf20 plugins/none-ls: add enableLspFormat option 2023-11-28 14:08:27 +01:00
Gaetan Lepage
19f39c3b1b plugins: swith to the new behaviour of mkRaw 2023-11-23 11:39:41 +01:00
Mikael Fangel
a88b955020
plugins/none-ls: add ktlint formatter and diagnostics (#729) 2023-11-23 08:40:49 +01:00
Mikael Fangel
0883bab1ab
golangci-lint: init (#719) 2023-11-21 14:43:19 +01:00
Gaetan Lepage
b6724702b4 misc: refactor imports, prefer adding helpers to args rather than importing it 2023-11-06 16:33:39 +01:00