Fixed typos and formatting

This commit is contained in:
isaacST08 2025-02-10 15:24:39 -07:00
commit fe84f0e56f
11 changed files with 27 additions and 27 deletions

View file

@ -10,7 +10,7 @@
# #
# Module attribute set. This is the attribute set that the module that is # Module attribute set. This is the attribute set that the module that is
# defining a builder is passed as its input. # defining a builder is passed as its input.
moduleInheritencePackage, moduleInheritancePackage,
# #
# These are the standard options for the builder just like creating any # These are the standard options for the builder just like creating any
# other module. Some options are required and are described below but # other module. Some options are required and are described below but
@ -25,7 +25,7 @@
... ...
}: let }: let
# Inherit the necessary variables available to any module. # Inherit the necessary variables available to any module.
inherit (moduleInheritencePackage) lib config; inherit (moduleInheritancePackage) lib config;
# #
# Inherit other useful functions. # Inherit other useful functions.
inherit (lib.modules) mkIf; inherit (lib.modules) mkIf;

View file

@ -3,7 +3,7 @@
pkgs, pkgs,
lib, lib,
... ...
} @ moduleInheritencePackage: let } @ moduleInheritancePackage: let
# The name of the builder # The name of the builder
name = "latexmk"; name = "latexmk";
@ -14,14 +14,14 @@
inherit (lib.types) bool package str; inherit (lib.types) bool package str;
in ( in (
template { template {
inherit name moduleInheritencePackage; inherit name moduleInheritancePackage;
options = { options = {
enable = mkEnableOption "Whether to enable Tex Compilation Via latexmk"; enable = mkEnableOption "Whether to enable Tex Compilation Via latexmk";
package = mkOption { package = mkOption {
type = package; type = package;
default = (pkgs.texlive.withPackages (ps: [ ps.latexmk ])); default = pkgs.texlive.withPackages (ps: [ps.latexmk]);
description = "latexmk package"; description = "latexmk package";
}; };

View file

@ -3,7 +3,7 @@
pkgs, pkgs,
lib, lib,
... ...
} @ moduleInheritencePackage: let } @ moduleInheritancePackage: let
# The name of the builder # The name of the builder
name = "tectonic"; name = "tectonic";
@ -18,7 +18,7 @@
cfg = config.vim.languages.tex; cfg = config.vim.languages.tex;
in ( in (
template { template {
inherit name moduleInheritencePackage; inherit name moduleInheritancePackage;
options = { options = {
enable = mkEnableOption "Whether to enable Tex Compilation Via Tectonic"; enable = mkEnableOption "Whether to enable Tex Compilation Via Tectonic";
@ -58,7 +58,7 @@ in (
description = '' description = ''
Rerun the TeX engine exactly this many times after the first. Rerun the TeX engine exactly this many times after the first.
Setting this value to 0 will diable setting this option. Setting this value to 0 will disable setting this option.
''; '';
}; };

View file

@ -35,7 +35,7 @@ in {
If no filetype can be determined automatically then by default it will fallback to plaintex. If no filetype can be determined automatically then by default it will fallback to plaintex.
This option will enable setting the tex flavor in your lua config and you can set its value This option will enable setting the tex flavor in your lua config and you can set its value
useing the `vim.languages.tex.lsp.extraOpts.texFlavor.flavor = <flavor>` in your nvf config. using the `vim.languages.tex.lsp.extraOpts.texFlavor.flavor = <flavor>` in your nvf config.
Setting this option to `false` will omit the `vim.g.tex_flavor = <flavor>` line from your lua Setting this option to `false` will omit the `vim.g.tex_flavor = <flavor>` line from your lua
config entirely (unless you manually set it elsewhere of course). config entirely (unless you manually set it elsewhere of course).

View file

@ -169,11 +169,11 @@ in {
description = '' description = ''
Allows associating a label definition command with a custom prefix. Consider, Allows associating a label definition command with a custom prefix. Consider,
``` ```
\newcommand{\thm}[1]{\label{thm:#1}} \newcommand{\theorem}[1]{\label{theorem:#1}}
\thm{foo} \theorem{foo}
``` ```
Then setting `texlab.experimental.labelDefinitionPrefixes` to `[["thm", "thm:"]]` and adding "thm" Then setting `texlab.experimental.labelDefinitionPrefixes` to `[["theorem", "theorem:"]]` and adding "theorem"
to `texlab.experimental.labelDefinitionCommands` will make the server recognize the `thm:foo` label. to `texlab.experimental.labelDefinitionCommands` will make the server recognize the `theorem:foo` label.
''; '';
}; };
@ -221,7 +221,7 @@ in {
Enable this option if you want to have the compiled document appear in your chosen PDF viewer. Enable this option if you want to have the compiled document appear in your chosen PDF viewer.
For some options see [here](https://github.com/latex-lsp/texlab/wiki/Previewing). For some options see [here](https://github.com/latex-lsp/texlab/wiki/Previewing).
Note this is not all the options, but can act as a guide to help you allong with custom configs. Note this is not all the options, but can act as a guide to help you along with custom configs.
''; '';
package = mkOption { package = mkOption {
@ -405,7 +405,7 @@ in {
- description: If set, the server will try to match a label to environment and append its number. - description: If set, the server will try to match a label to environment and append its number.
- default: false - default: false
Note: This functionallity may not be working, please follow https://github.com/latex-lsp/texlab/pull/1311 Note: This functionality may not be working, please follow https://github.com/latex-lsp/texlab/pull/1311
for status updates. for status updates.
''; '';
}; };

View file

@ -2,7 +2,7 @@
pkgs, pkgs,
lib, lib,
... ...
} @ moduleInheritencePackage: let } @ moduleInheritancePackage: let
# The name of the pdf viewer # The name of the pdf viewer
name = "custom"; name = "custom";
@ -13,7 +13,7 @@
inherit (lib.types) package str listOf; inherit (lib.types) package str listOf;
in ( in (
template { template {
inherit name moduleInheritencePackage; inherit name moduleInheritancePackage;
options = { options = {
enable = mkEnableOption "enable using a custom pdf viewer."; enable = mkEnableOption "enable using a custom pdf viewer.";

View file

@ -2,7 +2,7 @@
pkgs, pkgs,
lib, lib,
... ...
} @ moduleInheritencePackage: let } @ moduleInheritancePackage: let
# The name of the pdf viewer # The name of the pdf viewer
name = "okular"; name = "okular";
@ -13,7 +13,7 @@
inherit (lib.types) package str listOf; inherit (lib.types) package str listOf;
in ( in (
template { template {
inherit name moduleInheritencePackage; inherit name moduleInheritancePackage;
options = { options = {
enable = mkEnableOption "enable okular as the pdf file previewer."; enable = mkEnableOption "enable okular as the pdf file previewer.";

View file

@ -2,7 +2,7 @@
pkgs, pkgs,
lib, lib,
... ...
} @ moduleInheritencePackage: let } @ moduleInheritancePackage: let
# The name of the pdf viewer # The name of the pdf viewer
name = "qpdfview"; name = "qpdfview";
@ -13,7 +13,7 @@
inherit (lib.types) package str listOf; inherit (lib.types) package str listOf;
in ( in (
template { template {
inherit name moduleInheritencePackage; inherit name moduleInheritancePackage;
options = { options = {
enable = mkEnableOption "enable qpdfview as the pdf file previewer."; enable = mkEnableOption "enable qpdfview as the pdf file previewer.";

View file

@ -2,7 +2,7 @@
pkgs, pkgs,
lib, lib,
... ...
} @ moduleInheritencePackage: let } @ moduleInheritancePackage: let
# The name of the pdf viewer # The name of the pdf viewer
name = "sioyek"; name = "sioyek";
@ -13,7 +13,7 @@
inherit (lib.types) package str listOf; inherit (lib.types) package str listOf;
in ( in (
template { template {
inherit name moduleInheritencePackage; inherit name moduleInheritancePackage;
options = { options = {
enable = mkEnableOption "enable sioyek as the pdf file previewer."; enable = mkEnableOption "enable sioyek as the pdf file previewer.";

View file

@ -10,7 +10,7 @@
# #
# Module attribute set. This is the attribute set that the module that is # Module attribute set. This is the attribute set that the module that is
# defining a pdf viewer is passed as its input. # defining a pdf viewer is passed as its input.
moduleInheritencePackage, moduleInheritancePackage,
# #
# These are the standard options for the pdf viewer just like creating any # These are the standard options for the pdf viewer just like creating any
# other module. Some options are required and are described below but # other module. Some options are required and are described below but
@ -25,7 +25,7 @@
... ...
}: let }: let
# Inherit the necessary variables available to any module. # Inherit the necessary variables available to any module.
inherit (moduleInheritencePackage) lib config; inherit (moduleInheritancePackage) lib config;
# #
# Inherit other useful functions. # Inherit other useful functions.
inherit (lib.modules) mkIf; inherit (lib.modules) mkIf;

View file

@ -2,7 +2,7 @@
pkgs, pkgs,
lib, lib,
... ...
} @ moduleInheritencePackage: let } @ moduleInheritancePackage: let
# The name of the pdf viewer # The name of the pdf viewer
name = "zathura"; name = "zathura";
@ -13,7 +13,7 @@
inherit (lib.types) package str listOf; inherit (lib.types) package str listOf;
in ( in (
template { template {
inherit name moduleInheritencePackage; inherit name moduleInheritancePackage;
options = { options = {
enable = mkEnableOption "enable zathura as the pdf file previewer."; enable = mkEnableOption "enable zathura as the pdf file previewer.";