mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-05 18:01:32 +00:00
65 lines
1.2 KiB
Nix
65 lines
1.2 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.nvim.languages) mkEnable;
|
|
in {
|
|
imports = [
|
|
./asm.nix
|
|
./astro.nix
|
|
./bash.nix
|
|
./cue.nix
|
|
./dart.nix
|
|
./clang.nix
|
|
./css.nix
|
|
./elixir.nix
|
|
./emmet.nix
|
|
./fsharp.nix
|
|
./gleam.nix
|
|
./go.nix
|
|
./hcl.nix
|
|
./helm.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
|
|
./odin.nix
|
|
./wgsl.nix
|
|
./yaml.nix
|
|
./ruby.nix
|
|
];
|
|
|
|
options.vim.languages = {
|
|
# LSPs are now built into Neovim, and we should enable them by default
|
|
# if `vim.lsp.enable` is true.
|
|
enableLSP = mkEnable "LSP" // {default = config.vim.lsp.enable;};
|
|
|
|
# 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";
|
|
};
|
|
}
|