2023-09-23 17:36:25 +02:00
|
|
|
{lib, ...}: let
|
|
|
|
inherit (lib.nvim.languages) mkEnable;
|
2023-04-17 22:27:27 +02:00
|
|
|
in {
|
|
|
|
imports = [
|
2024-11-09 21:13:27 +01:00
|
|
|
./asm.nix
|
2024-05-06 22:09:40 +02:00
|
|
|
./bash.nix
|
|
|
|
./dart.nix
|
2023-04-17 22:27:27 +02:00
|
|
|
./clang.nix
|
2024-01-24 18:39:07 +01:00
|
|
|
./css.nix
|
2024-05-06 23:52:33 +02:00
|
|
|
./elixir.nix
|
2023-04-17 22:27:27 +02:00
|
|
|
./go.nix
|
2024-11-27 20:21:57 +01:00
|
|
|
./hcl.nix
|
2024-10-10 20:14:52 +02:00
|
|
|
./kotlin.nix
|
2023-04-18 00:05:18 +02:00
|
|
|
./html.nix
|
2023-08-09 06:41:48 +02:00
|
|
|
./java.nix
|
2023-09-23 15:36:26 +02:00
|
|
|
./lua.nix
|
2024-05-06 21:22:43 +02:00
|
|
|
./markdown.nix
|
2024-02-07 05:24:44 +01:00
|
|
|
./nim.nix
|
2024-11-03 23:14:14 +01:00
|
|
|
./vala.nix
|
2023-04-17 22:27:27 +02:00
|
|
|
./nix.nix
|
2024-05-15 19:37:27 +02:00
|
|
|
./ocaml.nix
|
2023-10-08 14:34:55 +02:00
|
|
|
./php.nix
|
2023-04-17 22:27:27 +02:00
|
|
|
./python.nix
|
2024-09-24 14:00:31 +02:00
|
|
|
./r.nix
|
2023-04-17 22:27:27 +02:00
|
|
|
./rust.nix
|
2024-10-12 05:43:33 +02:00
|
|
|
./scala.nix
|
2023-04-17 22:27:27 +02:00
|
|
|
./sql.nix
|
2023-06-03 16:18:26 +02:00
|
|
|
./svelte.nix
|
2024-01-24 18:39:07 +01:00
|
|
|
./tailwind.nix
|
2023-11-28 11:12:34 +01:00
|
|
|
./terraform.nix
|
2024-01-24 18:39:07 +01:00
|
|
|
./ts.nix
|
2024-04-28 21:07:41 +02:00
|
|
|
./typst.nix
|
2024-01-24 18:39:07 +01:00
|
|
|
./zig.nix
|
2024-10-27 12:55:06 +01:00
|
|
|
./csharp.nix
|
2024-10-31 13:09:05 +01:00
|
|
|
./julia.nix
|
2024-11-28 18:12:19 +01:00
|
|
|
./nu.nix
|
2023-04-17 22:27:27 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
options.vim.languages = {
|
|
|
|
enableLSP = mkEnable "LSP";
|
2023-05-05 16:16:16 +02:00
|
|
|
enableDAP = mkEnable "Debug Adapter";
|
2023-09-23 17:36:25 +02:00
|
|
|
enableTreesitter = mkEnable "Treesitter";
|
|
|
|
enableFormat = mkEnable "Formatting";
|
2023-04-17 22:27:27 +02:00
|
|
|
enableExtraDiagnostics = mkEnable "extra diagnostics";
|
|
|
|
};
|
|
|
|
}
|