neovim-flake/modules/plugins/languages/default.nix

47 lines
828 B
Nix
Raw Normal View History

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