nvf/modules/plugins/languages/default.nix
2024-05-15 20:40:15 +02:00

38 lines
694 B
Nix

{lib, ...}: let
inherit (lib.nvim.languages) mkEnable;
in {
imports = [
./bash.nix
./dart.nix
./clang.nix
./css.nix
./elixir.nix
./go.nix
./html.nix
./java.nix
./lua.nix
./markdown.nix
./nim.nix
./nix.nix
./ocaml.nix
./php.nix
./python.nix
./rust.nix
./sql.nix
./svelte.nix
./tailwind.nix
./terraform.nix
./ts.nix
./typst.nix
./zig.nix
];
options.vim.languages = {
enableLSP = mkEnable "LSP";
enableDAP = mkEnable "Debug Adapter";
enableTreesitter = mkEnable "Treesitter";
enableFormat = mkEnable "Formatting";
enableExtraDiagnostics = mkEnable "extra diagnostics";
};
}