mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-23 05:40:44 +00:00
5952e60f0f
Terraform doesn't register hcl and doesn't offer good DX if manually set for editing e.g. nomad HCL files. Incl. reformat with alejandra
39 lines
708 B
Nix
39 lines
708 B
Nix
{lib, ...}: let
|
|
inherit (lib.nvim.languages) mkEnable;
|
|
in {
|
|
imports = [
|
|
./bash.nix
|
|
./dart.nix
|
|
./clang.nix
|
|
./css.nix
|
|
./elixir.nix
|
|
./go.nix
|
|
./hcl.nix
|
|
./html.nix
|
|
./java.nix
|
|
./lua.nix
|
|
./markdown.nix
|
|
./nim.nix
|
|
./nix.nix
|
|
./ocaml.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";
|
|
};
|
|
}
|