nvf/modules/plugins/languages/default.nix

42 lines
757 B
Nix
Raw Normal View History

2023-09-23 15:36:25 +00:00
{lib, ...}: let
inherit (lib.nvim.languages) mkEnable;
in {
imports = [
./bash.nix
./dart.nix
./clang.nix
./css.nix
./elixir.nix
./go.nix
./kotlin.nix
2024-10-20 10:48:30 +00:00
./haskell.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
./markdown.nix
2024-02-07 04:24:44 +00:00
./nim.nix
./nix.nix
2024-05-15 17:37:27 +00:00
./ocaml.nix
2023-10-08 12:34:55 +00:00
./php.nix
./python.nix
./r.nix
./rust.nix
./scala.nix
./sql.nix
2023-06-03 14:18:26 +00:00
./svelte.nix
./tailwind.nix
./terraform.nix
./ts.nix
./typst.nix
./zig.nix
];
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";
enableExtraDiagnostics = mkEnable "extra diagnostics";
};
}