summaryrefslogtreecommitdiffstats
path: root/modules/plugins/languages/default.nix
blob: a2a13737e3b0e527aa78303a6a0ee4d478518367 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{lib, ...}: let
  inherit (lib.nvim.languages) mkEnable;
in {
  imports = [
    ./angular.nix
    ./arduino.nix
    ./asciidoc.nix
    ./asm.nix
    ./astro.nix
    ./awk.nix
    ./bash.nix
    ./beancount.nix
    ./clang.nix
    ./clojure.nix
    ./cmake.nix
    ./csharp.nix
    ./css.nix
    ./cue.nix
    ./dart.nix
    ./docker.nix
    ./elixir.nix
    ./elm.nix
    ./env.nix
    ./fish.nix
    ./fluent.nix
    ./fsharp.nix
    ./gettext.nix
    ./gleam.nix
    ./glsl.nix
    ./go.nix
    ./haskell.nix
    ./hcl.nix
    ./helm.nix
    ./html.nix
    ./http.nix
    ./java.nix
    ./jinja.nix
    ./jq.nix
    ./json.nix
    ./json5.nix
    ./julia.nix
    ./just.nix
    ./kotlin.nix
    ./liquid.nix
    ./lisp.nix
    ./lua.nix
    ./make.nix
    ./markdown.nix
    ./nim.nix
    ./nix.nix
    ./nu.nix
    ./ocaml.nix
    ./odin.nix
    ./openscad.nix
    ./php.nix
    ./pug.nix
    ./python.nix
    ./qml.nix
    ./query.nix
    ./r.nix
    ./ruby.nix
    ./rust.nix
    ./scala.nix
    ./scss.nix
    ./scss.nix
    ./sql.nix
    ./standard-ml.nix
    ./svelte.nix
    ./tera.nix
    ./terraform.nix
    ./tex.nix
    ./toml.nix
    ./tsx.nix
    ./twig.nix
    ./typescript.nix
    ./typst.nix
    ./vala.nix
    ./vhdl.nix
    ./vue.nix
    ./wgsl.nix
    ./xml.nix
    ./yaml.nix
    ./zig.nix
    ./zsh.nix
  ];

  options.vim.languages = {
    # Those are still managed by plugins, and should be enabled here.
    enableDAP = mkEnable "Debug Adapter";
    enableTreesitter = mkEnable "Treesitter";
    enableFormat = mkEnable "Formatting";
    enableExtraDiagnostics = mkEnable "extra diagnostics";
  };
}