mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-04 20:41:14 +00:00
caaacbf59c
* languages/scala: Add scala language support Adds LSP support for Scala via nvim-metals * Fix luaInline import * Add changelog entry for Scala support to 0.7 release notes --------- Co-authored-by: raf <raf@notashelf.dev>
41 lines
739 B
Nix
41 lines
739 B
Nix
{lib, ...}: let
|
|
inherit (lib.nvim.languages) mkEnable;
|
|
in {
|
|
imports = [
|
|
./bash.nix
|
|
./dart.nix
|
|
./clang.nix
|
|
./css.nix
|
|
./elixir.nix
|
|
./go.nix
|
|
./kotlin.nix
|
|
./html.nix
|
|
./java.nix
|
|
./lua.nix
|
|
./markdown.nix
|
|
./nim.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
|
|
];
|
|
|
|
options.vim.languages = {
|
|
enableLSP = mkEnable "LSP";
|
|
enableDAP = mkEnable "Debug Adapter";
|
|
enableTreesitter = mkEnable "Treesitter";
|
|
enableFormat = mkEnable "Formatting";
|
|
enableExtraDiagnostics = mkEnable "extra diagnostics";
|
|
};
|
|
}
|