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 = [
|
2023-04-17 23:55:27 +02:00
|
|
|
./markdown
|
2023-04-17 23:38:57 +02:00
|
|
|
./tidal
|
2023-04-18 02:18:02 +02:00
|
|
|
./dart
|
|
|
|
./elixir
|
2023-09-23 17:36:25 +02:00
|
|
|
./bash
|
2023-04-17 23:38:57 +02:00
|
|
|
|
2023-04-17 22:27:27 +02:00
|
|
|
./clang.nix
|
|
|
|
./go.nix
|
|
|
|
./nix.nix
|
|
|
|
./python.nix
|
|
|
|
./rust.nix
|
|
|
|
./sql.nix
|
|
|
|
./ts.nix
|
|
|
|
./zig.nix
|
2023-04-18 00:05:18 +02:00
|
|
|
./html.nix
|
2023-06-03 16:18:26 +02:00
|
|
|
./svelte.nix
|
2023-08-09 06:41:48 +02:00
|
|
|
./java.nix
|
2023-09-23 15:36:26 +02:00
|
|
|
./lua.nix
|
2023-10-08 14:34:55 +02:00
|
|
|
./php.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";
|
|
|
|
};
|
|
|
|
}
|