mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-03-08 09:46:00 +00:00
Compare commits
No commits in common. "cf066ec6812af32ad229b0d2ab3228182f8b0a14" and "385c49d93dd93fc745b954b4bd777ce458f01948" have entirely different histories.
cf066ec681
...
385c49d93d
3 changed files with 3 additions and 28 deletions
|
|
@ -132,8 +132,7 @@
|
||||||
|
|
||||||
- Added [sqruff](https://github.com/quarylabs/sqruff) support to `languages.sql`
|
- Added [sqruff](https://github.com/quarylabs/sqruff) support to `languages.sql`
|
||||||
|
|
||||||
- Added [Pyrefly](https://pyrefly.org/) and [zuban](https://zubanls.com/)
|
- Added [Pyrefly](https://pyrefly.org/) support to `languages.python`
|
||||||
support to `languages.python`
|
|
||||||
|
|
||||||
- Added TOML support via {option}`languages.toml` and the
|
- Added TOML support via {option}`languages.toml` and the
|
||||||
[Tombi](https://tombi-toml.github.io/tombi/) language server, linter, and
|
[Tombi](https://tombi-toml.github.io/tombi/) language server, linter, and
|
||||||
|
|
@ -145,8 +144,3 @@
|
||||||
[Machshev](https://github.com/machshev):
|
[Machshev](https://github.com/machshev):
|
||||||
|
|
||||||
- Added `ruff` and `ty` LSP support for Python under `programs.python`.
|
- Added `ruff` and `ty` LSP support for Python under `programs.python`.
|
||||||
|
|
||||||
[Snoweuph](https://github.com/snoweuph)
|
|
||||||
|
|
||||||
- Added [Selenen](https://github.com/kampfkarren/selene) for more diagnostics in
|
|
||||||
`languages.lua`.
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
inherit (lib.modules) mkIf mkMerge;
|
inherit (lib.modules) mkIf mkMerge;
|
||||||
inherit (lib.meta) getExe;
|
inherit (lib.meta) getExe;
|
||||||
inherit (lib.types) bool enum listOf;
|
inherit (lib.types) bool enum listOf;
|
||||||
inherit (lib.nvim.types) diagnostics mkGrammarOption;
|
inherit (lib.nvim.types) diagnostics mkGrammarOption deprecatedSingleOrListOf;
|
||||||
inherit (lib.nvim.dag) entryBefore;
|
inherit (lib.nvim.dag) entryBefore;
|
||||||
inherit (lib.nvim.attrsets) mapListToAttrs;
|
inherit (lib.nvim.attrsets) mapListToAttrs;
|
||||||
|
|
||||||
|
|
@ -46,9 +46,6 @@
|
||||||
luacheck = {
|
luacheck = {
|
||||||
package = pkgs.luajitPackages.luacheck;
|
package = pkgs.luajitPackages.luacheck;
|
||||||
};
|
};
|
||||||
selene = {
|
|
||||||
package = pkgs.selene;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -82,7 +79,7 @@ in {
|
||||||
description = "Enable Lua formatting";
|
description = "Enable Lua formatting";
|
||||||
};
|
};
|
||||||
type = mkOption {
|
type = mkOption {
|
||||||
type = listOf (enum (attrNames formats));
|
type = deprecatedSingleOrListOf "vim.language.lua.format.type" (enum (attrNames formats));
|
||||||
default = defaultFormat;
|
default = defaultFormat;
|
||||||
description = "Lua formatter to use";
|
description = "Lua formatter to use";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -169,22 +169,6 @@
|
||||||
".git"
|
".git"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
zuban = {
|
|
||||||
enable = true;
|
|
||||||
cmd = [(getExe pkgs.zuban) "server"];
|
|
||||||
filetypes = ["python"];
|
|
||||||
root_markers = [
|
|
||||||
"pyproject.toml"
|
|
||||||
"setup.py"
|
|
||||||
"setup.cfg"
|
|
||||||
"requirements.txt"
|
|
||||||
"Pipfile"
|
|
||||||
".git"
|
|
||||||
"mypy.ini"
|
|
||||||
".mypy.ini"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultFormat = ["black"];
|
defaultFormat = ["black"];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue