mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-23 22:19:49 +01:00
38 lines
675 B
Nix
38 lines
675 B
Nix
{lib, ...}: let
|
|
inherit (lib.nvim.languages) mkEnable;
|
|
in {
|
|
imports = [
|
|
./bash
|
|
./dart
|
|
./elixir
|
|
./markdown
|
|
./tidal
|
|
|
|
./clang.nix
|
|
./css.nix
|
|
./go.nix
|
|
./html.nix
|
|
./java.nix
|
|
./lua.nix
|
|
./nim.nix
|
|
./nix.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";
|
|
};
|
|
}
|