Changes
2 changed files (+47/-0)
-
dprint.jsonc (new)
-
@@ -0,0 +1,41 @@// Copyright (C) 2025 Shota FUJI // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // // SPDX-License-Identifier: LGPL-2.1-or-later { "includes": [ "dprint.jsonc", "flake.nix" ], "lineWidth": 80, "indentWidth": 2, "newLineKind": "lf", "useTabs": false, "exec": { "cwd": "${configDir}", "commands": [ { "exts": ["nix"], "command": "nixfmt --strict --width={{line_width}} --indent={{indent_width}}", }, ], }, "plugins": [ "https://plugins.dprint.dev/exec-0.6.0.json@a054130d458f124f9b5c91484833828950723a5af3f8ff2bd1523bd47b83b364", "https://plugins.dprint.dev/json-0.21.0.wasm" ] }
-
-
-
@@ -50,6 +50,12 @@ {default = pkgs.mkShell { packages = with pkgs; [ tree-sitter # Code formatter frontend dprint # Official code formatter for Nix code nixfmt ]; }; }
-