Home Gen25 @ 2026-06-30-14:10 by admin-jroeger@T14-OE130-7-ubuntu
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
hive.doom.enable = true;
|
hive.doom.enable = true;
|
||||||
hive.doom.asDefaultEditor = true;
|
hive.doom.asDefaultEditor = true;
|
||||||
hive.doom.enableCopilot = true;
|
hive.doom.enableCopilot = true;
|
||||||
|
hive.doom.enableLtexPlus = true;
|
||||||
hive.doom.withNixPkgs = true;
|
hive.doom.withNixPkgs = true;
|
||||||
hive.doom.withShellPkgs = true;
|
hive.doom.withShellPkgs = true;
|
||||||
hive.doom.withCXXPkgs = true;
|
hive.doom.withCXXPkgs = true;
|
||||||
|
|||||||
@@ -70,6 +70,7 @@
|
|||||||
++ lib.optionals cfg.withCXXPkgs (cfg.overrideCXXPkgs default-cxx-pkgs)
|
++ lib.optionals cfg.withCXXPkgs (cfg.overrideCXXPkgs default-cxx-pkgs)
|
||||||
++ lib.optionals cfg.withPythonPkgs (cfg.overridePythonPkgs default-python-pkgs)
|
++ lib.optionals cfg.withPythonPkgs (cfg.overridePythonPkgs default-python-pkgs)
|
||||||
++ lib.optional cfg.enableCopilot pkgs.unstable.copilot-language-server
|
++ lib.optional cfg.enableCopilot pkgs.unstable.copilot-language-server
|
||||||
|
++ lib.optional cfg.enableLtexPlus pkgs.ltex-ls-plus
|
||||||
++ default-core-pkgs;
|
++ default-core-pkgs;
|
||||||
doom-socket-name = "main";
|
doom-socket-name = "main";
|
||||||
wrapped-emacs = pkgs.symlinkJoin {
|
wrapped-emacs = pkgs.symlinkJoin {
|
||||||
@@ -114,6 +115,7 @@
|
|||||||
asDefaultEditor = lib.mkEnableOption "set the EDITOR variable to use the current emacs server (graphical/non-graphical)";
|
asDefaultEditor = lib.mkEnableOption "set the EDITOR variable to use the current emacs server (graphical/non-graphical)";
|
||||||
enableCopilot = lib.mkEnableOption "Enable Copilot in Doom Emacs";
|
enableCopilot = lib.mkEnableOption "Enable Copilot in Doom Emacs";
|
||||||
enableTidal = lib.mkEnableOption "Enable TidalCycles";
|
enableTidal = lib.mkEnableOption "Enable TidalCycles";
|
||||||
|
enableLtexPlus = lib.mkEnableOption "Enable grammar checks via LtexPlus";
|
||||||
withLatexPkgs = lib.mkEnableOption "Enable LaTeX packages in doom path";
|
withLatexPkgs = lib.mkEnableOption "Enable LaTeX packages in doom path";
|
||||||
withShellPkgs = lib.mkEnableOption "Enable shell packages in doom path";
|
withShellPkgs = lib.mkEnableOption "Enable shell packages in doom path";
|
||||||
withNixPkgs = lib.mkEnableOption "Enable LaTeX packages in doom path";
|
withNixPkgs = lib.mkEnableOption "Enable LaTeX packages in doom path";
|
||||||
@@ -232,6 +234,11 @@
|
|||||||
enable = cfg.enableCopilot;
|
enable = cfg.enableCopilot;
|
||||||
source = ./static/config.d/copilot.el;
|
source = ./static/config.d/copilot.el;
|
||||||
};
|
};
|
||||||
|
"doom-config/config.d/ltex-plus.el" = {
|
||||||
|
enable = cfg.enableLtexPlus;
|
||||||
|
source = ./static/config.d/ltex-plus.el;
|
||||||
|
onChange = "${doom-setup} sync --force -u -e";
|
||||||
|
};
|
||||||
"doom-config/packages/treesit-docgen.el" = {
|
"doom-config/packages/treesit-docgen.el" = {
|
||||||
source = ./static/packages/treesit-docgen.el;
|
source = ./static/packages/treesit-docgen.el;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
(use-package! lsp-ltex-plus
|
||||||
|
:defer t
|
||||||
|
:init
|
||||||
|
(lsp-ltex-plus-enable-for-modes))
|
||||||
Reference in New Issue
Block a user