mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-22 15:29:49 +01:00
e715463257
* plugins/languages: add haskell support Closes #426 * fix docs --------- Co-authored-by: Artur Manuel <balkenix@outlook.com> Co-authored-by: raf <raf@notashelf.dev>
49 lines
878 B
Nix
49 lines
878 B
Nix
{lib, ...}: let
|
|
inherit (lib.nvim.languages) mkEnable;
|
|
in {
|
|
imports = [
|
|
./asm.nix
|
|
./astro.nix
|
|
./bash.nix
|
|
./dart.nix
|
|
./clang.nix
|
|
./css.nix
|
|
./elixir.nix
|
|
./gleam.nix
|
|
./go.nix
|
|
./hcl.nix
|
|
./kotlin.nix
|
|
./html.nix
|
|
./haskell.nix
|
|
./java.nix
|
|
./lua.nix
|
|
./markdown.nix
|
|
./nim.nix
|
|
./vala.nix
|
|
./nix.nix
|
|
./ocaml.nix
|
|
./php.nix
|
|
./python.nix
|
|
./r.nix
|
|
./rust.nix
|
|
./scala.nix
|
|
./sql.nix
|
|
./svelte.nix
|
|
./tailwind.nix
|
|
./terraform.nix
|
|
./ts.nix
|
|
./typst.nix
|
|
./zig.nix
|
|
./csharp.nix
|
|
./julia.nix
|
|
./nu.nix
|
|
];
|
|
|
|
options.vim.languages = {
|
|
enableLSP = mkEnable "LSP";
|
|
enableDAP = mkEnable "Debug Adapter";
|
|
enableTreesitter = mkEnable "Treesitter";
|
|
enableFormat = mkEnable "Formatting";
|
|
enableExtraDiagnostics = mkEnable "extra diagnostics";
|
|
};
|
|
}
|