neovim-flake/modules/plugins/languages/default.nix

80 lines
1.5 KiB
Nix
Raw Normal View History

{lib, ...}: let
inherit (lib.modules) mkRenamedOptionModule;
2023-09-23 18:36:25 +03:00
inherit (lib.nvim.languages) mkEnable;
in {
imports = [
2026-02-18 11:50:05 +01:00
./arduino.nix
./asm.nix
./astro.nix
./bash.nix
./cue.nix
./dart.nix
./clang.nix
2025-05-17 17:03:08 +02:00
./clojure.nix
2026-02-18 11:48:39 +01:00
./cmake.nix
./css.nix
./elixir.nix
./elm.nix
2025-03-24 22:25:01 +01:00
./fsharp.nix
./gleam.nix
2026-02-18 11:51:48 +01:00
./glsl.nix
./go.nix
./hcl.nix
2025-03-13 00:21:13 +01:00
./helm.nix
./kotlin.nix
2023-04-18 01:05:18 +03:00
./html.nix
./tera.nix
./twig.nix
./liquid.nix
./haskell.nix
2023-08-09 10:11:48 +05:30
./java.nix
2026-01-29 13:36:08 -05:00
./jinja.nix
./json.nix
2023-09-23 15:36:26 +02:00
./lua.nix
./markdown.nix
./tex.nix
2024-02-07 07:24:44 +03:00
./nim.nix
./vala.nix
./nix.nix
2024-05-15 19:37:27 +02:00
./ocaml.nix
2023-10-08 14:34:55 +02:00
./php.nix
./python.nix
./qml.nix
./r.nix
./rust.nix
./scala.nix
./sql.nix
2023-06-03 17:18:26 +03:00
./svelte.nix
./terraform.nix
2026-01-14 13:24:13 -05:00
./toml.nix
./ts.nix
./typst.nix
./zig.nix
./csharp.nix
./julia.nix
./nu.nix
2024-12-21 01:15:10 +01:00
./odin.nix
./wgsl.nix
2025-03-02 16:59:32 +03:00
./yaml.nix
2025-01-12 23:33:26 +01:00
./ruby.nix
./just.nix
./make.nix
./xml.nix
2026-03-23 23:38:37 +01:00
./gettext.nix
2026-03-06 17:42:04 +01:00
./fluent.nix
2026-03-23 22:02:44 +01:00
./openscad.nix
2026-03-27 21:48:15 +01:00
./jq.nix
# This is now a hard deprecation.
(mkRenamedOptionModule ["vim" "languages" "enableLSP"] ["vim" "lsp" "enable"])
];
options.vim.languages = {
# Those are still managed by plugins, and should be enabled here.
2023-05-05 16:16:16 +02:00
enableDAP = mkEnable "Debug Adapter";
2023-09-23 18:36:25 +03:00
enableTreesitter = mkEnable "Treesitter";
enableFormat = mkEnable "Formatting";
enableExtraDiagnostics = mkEnable "extra diagnostics";
};
}