mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-10 15:35:30 +00:00
Fixed typos and formatting
This commit is contained in:
parent
88aa5815da
commit
fe84f0e56f
11 changed files with 27 additions and 27 deletions
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# Module attribute set. This is the attribute set that the module that is
|
||||
# defining a builder is passed as its input.
|
||||
moduleInheritencePackage,
|
||||
moduleInheritancePackage,
|
||||
#
|
||||
# These are the standard options for the builder just like creating any
|
||||
# other module. Some options are required and are described below but
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
...
|
||||
}: let
|
||||
# Inherit the necessary variables available to any module.
|
||||
inherit (moduleInheritencePackage) lib config;
|
||||
inherit (moduleInheritancePackage) lib config;
|
||||
#
|
||||
# Inherit other useful functions.
|
||||
inherit (lib.modules) mkIf;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
pkgs,
|
||||
lib,
|
||||
...
|
||||
} @ moduleInheritencePackage: let
|
||||
} @ moduleInheritancePackage: let
|
||||
# The name of the builder
|
||||
name = "latexmk";
|
||||
|
||||
|
|
@ -14,14 +14,14 @@
|
|||
inherit (lib.types) bool package str;
|
||||
in (
|
||||
template {
|
||||
inherit name moduleInheritencePackage;
|
||||
inherit name moduleInheritancePackage;
|
||||
|
||||
options = {
|
||||
enable = mkEnableOption "Whether to enable Tex Compilation Via latexmk";
|
||||
|
||||
package = mkOption {
|
||||
type = package;
|
||||
default = (pkgs.texlive.withPackages (ps: [ ps.latexmk ]));
|
||||
default = pkgs.texlive.withPackages (ps: [ps.latexmk]);
|
||||
description = "latexmk package";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
pkgs,
|
||||
lib,
|
||||
...
|
||||
} @ moduleInheritencePackage: let
|
||||
} @ moduleInheritancePackage: let
|
||||
# The name of the builder
|
||||
name = "tectonic";
|
||||
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
cfg = config.vim.languages.tex;
|
||||
in (
|
||||
template {
|
||||
inherit name moduleInheritencePackage;
|
||||
inherit name moduleInheritancePackage;
|
||||
|
||||
options = {
|
||||
enable = mkEnableOption "Whether to enable Tex Compilation Via Tectonic";
|
||||
|
|
@ -58,7 +58,7 @@ in (
|
|||
description = ''
|
||||
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.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ in {
|
|||
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
|
||||
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
|
||||
config entirely (unless you manually set it elsewhere of course).
|
||||
|
|
|
|||
|
|
@ -169,11 +169,11 @@ in {
|
|||
description = ''
|
||||
Allows associating a label definition command with a custom prefix. Consider,
|
||||
```
|
||||
\newcommand{\thm}[1]{\label{thm:#1}}
|
||||
\thm{foo}
|
||||
\newcommand{\theorem}[1]{\label{theorem:#1}}
|
||||
\theorem{foo}
|
||||
```
|
||||
Then setting `texlab.experimental.labelDefinitionPrefixes` to `[["thm", "thm:"]]` and adding "thm"
|
||||
to `texlab.experimental.labelDefinitionCommands` will make the server recognize the `thm:foo` label.
|
||||
Then setting `texlab.experimental.labelDefinitionPrefixes` to `[["theorem", "theorem:"]]` and adding "theorem"
|
||||
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.
|
||||
|
||||
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 {
|
||||
|
|
@ -405,7 +405,7 @@ in {
|
|||
- description: If set, the server will try to match a label to environment and append its number.
|
||||
- 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.
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
pkgs,
|
||||
lib,
|
||||
...
|
||||
} @ moduleInheritencePackage: let
|
||||
} @ moduleInheritancePackage: let
|
||||
# The name of the pdf viewer
|
||||
name = "custom";
|
||||
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
inherit (lib.types) package str listOf;
|
||||
in (
|
||||
template {
|
||||
inherit name moduleInheritencePackage;
|
||||
inherit name moduleInheritancePackage;
|
||||
|
||||
options = {
|
||||
enable = mkEnableOption "enable using a custom pdf viewer.";
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
pkgs,
|
||||
lib,
|
||||
...
|
||||
} @ moduleInheritencePackage: let
|
||||
} @ moduleInheritancePackage: let
|
||||
# The name of the pdf viewer
|
||||
name = "okular";
|
||||
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
inherit (lib.types) package str listOf;
|
||||
in (
|
||||
template {
|
||||
inherit name moduleInheritencePackage;
|
||||
inherit name moduleInheritancePackage;
|
||||
|
||||
options = {
|
||||
enable = mkEnableOption "enable okular as the pdf file previewer.";
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
pkgs,
|
||||
lib,
|
||||
...
|
||||
} @ moduleInheritencePackage: let
|
||||
} @ moduleInheritancePackage: let
|
||||
# The name of the pdf viewer
|
||||
name = "qpdfview";
|
||||
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
inherit (lib.types) package str listOf;
|
||||
in (
|
||||
template {
|
||||
inherit name moduleInheritencePackage;
|
||||
inherit name moduleInheritancePackage;
|
||||
|
||||
options = {
|
||||
enable = mkEnableOption "enable qpdfview as the pdf file previewer.";
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
pkgs,
|
||||
lib,
|
||||
...
|
||||
} @ moduleInheritencePackage: let
|
||||
} @ moduleInheritancePackage: let
|
||||
# The name of the pdf viewer
|
||||
name = "sioyek";
|
||||
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
inherit (lib.types) package str listOf;
|
||||
in (
|
||||
template {
|
||||
inherit name moduleInheritencePackage;
|
||||
inherit name moduleInheritancePackage;
|
||||
|
||||
options = {
|
||||
enable = mkEnableOption "enable sioyek as the pdf file previewer.";
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# Module attribute set. This is the attribute set that the module that is
|
||||
# defining a pdf viewer is passed as its input.
|
||||
moduleInheritencePackage,
|
||||
moduleInheritancePackage,
|
||||
#
|
||||
# These are the standard options for the pdf viewer just like creating any
|
||||
# other module. Some options are required and are described below but
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
...
|
||||
}: let
|
||||
# Inherit the necessary variables available to any module.
|
||||
inherit (moduleInheritencePackage) lib config;
|
||||
inherit (moduleInheritancePackage) lib config;
|
||||
#
|
||||
# Inherit other useful functions.
|
||||
inherit (lib.modules) mkIf;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
pkgs,
|
||||
lib,
|
||||
...
|
||||
} @ moduleInheritencePackage: let
|
||||
} @ moduleInheritancePackage: let
|
||||
# The name of the pdf viewer
|
||||
name = "zathura";
|
||||
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
inherit (lib.types) package str listOf;
|
||||
in (
|
||||
template {
|
||||
inherit name moduleInheritencePackage;
|
||||
inherit name moduleInheritancePackage;
|
||||
|
||||
options = {
|
||||
enable = mkEnableOption "enable zathura as the pdf file previewer.";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue