From 1e8d8593b63aa1bcf4acc65cb54f49ce6d93d834 Mon Sep 17 00:00:00 2001 From: Yoni FIRROLONI Date: Wed, 19 Apr 2023 12:31:14 +0200 Subject: [PATCH 1/3] add a few languages from the whole config doc to the home page --- docs/languages.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/languages.adoc b/docs/languages.adoc index 4db7ddb0..edc70e70 100644 --- a/docs/languages.adoc +++ b/docs/languages.adoc @@ -12,6 +12,9 @@ Language specific support means there is a combination of language specific plug * Zig: <> * Markdown: <> * HTML: <> +* SQL: <> +* Dart: <> +* Go: <> Adding support for more languages, and improving support for existing ones are great places where you can contribute with a PR. From 425b55167efca73a8de1c8944c6f9395480f730e Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Tue, 9 May 2023 12:14:53 +0200 Subject: [PATCH 2/3] feat: new option to enable lua module loader --- modules/basic/module.nix | 2 ++ modules/core/default.nix | 3 +++ 2 files changed, 5 insertions(+) diff --git a/modules/basic/module.nix b/modules/basic/module.nix index 443abeeb..d06838e4 100644 --- a/modules/basic/module.nix +++ b/modules/basic/module.nix @@ -144,5 +144,7 @@ with builtins; { default = true; description = "Follow editorconfig rules in current directory"; }; + + enableLuaLoader = mkEnableOption "Enable the experimental Lua module loader to speed up the start up process"; }; } diff --git a/modules/core/default.nix b/modules/core/default.nix index 78232b32..f5b6478f 100644 --- a/modules/core/default.nix +++ b/modules/core/default.nix @@ -9,6 +9,9 @@ with builtins; let wrapLuaConfig = luaConfig: '' lua << EOF + ${optionalString cfg.enableLuaLoader '' + vim.loader.enable() + ''} ${luaConfig} EOF ''; From ee2cd6a0b80bb094704c722f3151d859bb976035 Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Tue, 9 May 2023 19:28:38 +0200 Subject: [PATCH 3/3] docs: update release notes --- docs/release-notes/rl-0.4.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/release-notes/rl-0.4.adoc b/docs/release-notes/rl-0.4.adoc index ddf5f75b..d8be38bb 100644 --- a/docs/release-notes/rl-0.4.adoc +++ b/docs/release-notes/rl-0.4.adoc @@ -13,3 +13,5 @@ ttps://github.com/horriblename[horriblename]: * Added `clangd` as alternative lsp for C/++. * Added `toggleterm` integration for `lazygit`. + +* Added new option `enableLuaLoader` to enable neovim's experimental module loader for faster startup time.