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-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
|
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
|
2023-04-17 22:27:27 +02:00
|
|
|
./nix.nix
|
2023-10-08 14:34:55 +02:00
|
|
|
./php.nix
|
2023-04-17 22:27:27 +02:00
|
|
|
./python.nix
|
|
|
|
./rust.nix
|
|
|
|
./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
|
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";
|
|
|
|
};
|
|
|
|
}
|