Compare commits

..

No commits in common. "f103f18ca91de3eac3cbb5a024e9d92c20438223" and "96535d969d08216685bba2e934bbafd4033a408f" have entirely different histories.

3 changed files with 4 additions and 28 deletions

View file

@ -119,7 +119,7 @@ jobs:
run: echo "date=$(date +'%Y-%m-%d-%H%M%S')" >> ${GITHUB_OUTPUT} run: echo "date=$(date +'%Y-%m-%d-%H%M%S')" >> ${GITHUB_OUTPUT}
- name: Upload doc artifacts - name: Upload doc artifacts
uses: actions/upload-artifact@v7 uses: actions/upload-artifact@v6
with: with:
name: "${{ matrix.package }}" name: "${{ matrix.package }}"
path: result/share/doc/nvf path: result/share/doc/nvf

View file

@ -45,9 +45,6 @@
allow valid options. `default` is no longer valid. `inline` and `split` are allow valid options. `default` is no longer valid. `inline` and `split` are
two new valid options. two new valid options.
- Added [taplo](https://taplo.tamasfe.dev/) as the default formatter and lsp for
`languages.toml` so we don't default to AI-Slop.
## Changelog {#sec-release-0-9-changelog} ## Changelog {#sec-release-0-9-changelog}
[taylrfnt](https://github.com/taylrfnt) [taylrfnt](https://github.com/taylrfnt)

View file

@ -8,12 +8,12 @@
inherit (lib.meta) getExe; inherit (lib.meta) getExe;
inherit (lib.modules) mkIf mkMerge; inherit (lib.modules) mkIf mkMerge;
inherit (lib.options) mkEnableOption mkOption; inherit (lib.options) mkEnableOption mkOption;
inherit (lib.types) enum; inherit (lib.types) bool enum;
inherit (lib.nvim.types) diagnostics mkGrammarOption deprecatedSingleOrListOf; inherit (lib.nvim.types) diagnostics mkGrammarOption deprecatedSingleOrListOf;
inherit (lib.nvim.attrsets) mapListToAttrs; inherit (lib.nvim.attrsets) mapListToAttrs;
cfg = config.vim.languages.toml; cfg = config.vim.languages.toml;
defaultServers = ["taplo"]; defaultServers = ["tombi"];
servers = { servers = {
tombi = { tombi = {
enable = true; enable = true;
@ -27,21 +27,9 @@
".git" ".git"
]; ];
}; };
taplo = {
enable = true;
cmd = [
(getExe pkgs.taplo)
"lsp"
"stdio"
];
filetypes = ["toml"];
root_markers = [
".git"
];
};
}; };
defaultFormat = ["taplo"]; defaultFormat = ["tombi"];
formats = { formats = {
tombi = { tombi = {
command = getExe pkgs.tombi; command = getExe pkgs.tombi;
@ -52,15 +40,6 @@
"-" "-"
]; ];
}; };
taplo = {
command = getExe pkgs.taplo;
args = [
"format"
"--stdin-filepath"
"$FILENAME"
"-"
];
};
}; };
defaultDiagnosticsProvider = ["tombi"]; defaultDiagnosticsProvider = ["tombi"];
diagnosticsProviders = { diagnosticsProviders = {