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