mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-30 00:26:45 +00:00
34 lines
592 B
Nix
34 lines
592 B
Nix
{lib, ...}: let
|
|
inherit (lib.nvim.languages) mkEnable;
|
|
in {
|
|
imports = [
|
|
./markdown
|
|
./tidal
|
|
./dart
|
|
./elixir
|
|
./bash
|
|
|
|
./clang.nix
|
|
./go.nix
|
|
./nix.nix
|
|
./python.nix
|
|
./rust.nix
|
|
./sql.nix
|
|
./ts.nix
|
|
./zig.nix
|
|
./html.nix
|
|
./svelte.nix
|
|
./java.nix
|
|
./lua.nix
|
|
./php.nix
|
|
];
|
|
|
|
options.vim.languages = {
|
|
enableLSP = mkEnable "LSP";
|
|
enableDAP = mkEnable "Debug Adapter";
|
|
enableTreesitter = mkEnable "Treesitter";
|
|
enableFormat = mkEnable "Formatting";
|
|
enableExtraDiagnostics = mkEnable "extra diagnostics";
|
|
};
|
|
}
|