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

61 lines
1.2 KiB
Nix
Raw Normal View History

{lib, ...}: let
inherit (lib.modules) mkRenamedOptionModule;
2023-09-23 18:36:25 +03:00
inherit (lib.nvim.languages) mkEnable;
in {
imports = [
./asm.nix
./astro.nix
./bash.nix
./cue.nix
./dart.nix
./clang.nix
./css.nix
./elixir.nix
2025-03-24 22:25:01 +01:00
./fsharp.nix
./gleam.nix
./go.nix
./hcl.nix
2025-03-13 00:21:13 +01:00
./helm.nix
./kotlin.nix
2023-04-18 01:05:18 +03:00
./html.nix
./haskell.nix
2023-08-09 10:11:48 +05:30
./java.nix
2023-09-23 15:36:26 +02:00
./lua.nix
./markdown.nix
2024-02-07 07:24:44 +03: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 17:18:26 +03:00
./svelte.nix
./tailwind.nix
./terraform.nix
./ts.nix
./typst.nix
./zig.nix
./csharp.nix
./julia.nix
./nu.nix
2024-12-21 01:15:10 +01:00
./odin.nix
./wgsl.nix
2025-03-02 16:59:32 +03:00
./yaml.nix
2025-01-12 23:33:26 +01:00
./ruby.nix
# This is now a hard deprecation.
(mkRenamedOptionModule ["vim" "languages" "enableLSP"] ["vim" "lsp" "enable"])
];
options.vim.languages = {
# Those are still managed by plugins, and should be enabled here.
2023-05-05 16:16:16 +02:00
enableDAP = mkEnable "Debug Adapter";
2023-09-23 18:36:25 +03:00
enableTreesitter = mkEnable "Treesitter";
enableFormat = mkEnable "Formatting";
enableExtraDiagnostics = mkEnable "extra diagnostics";
};
}