mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-10 23:45:31 +00:00
Cleaned up documentation and other performed other code cleanups
This commit is contained in:
parent
5b616f7907
commit
c3c720f4a2
13 changed files with 343 additions and 213 deletions
|
|
@ -4,22 +4,17 @@
|
|||
lib,
|
||||
...
|
||||
}: let
|
||||
# inherit (lib.options) mkEnableOption;
|
||||
inherit (lib.modules) mkIf mkMerge;
|
||||
inherit (lib.nvim.types) mkGrammarOption mkEnableTreesitterOption;
|
||||
|
||||
cfg = config.vim.languages.tex;
|
||||
|
||||
# mkEnableTreesitterOption = description: mkEnableOption description // {default = config.vim.languages.enableTreesitter;};
|
||||
in {
|
||||
options.vim.languages.tex.treesitter = {
|
||||
latex = {
|
||||
# enable = mkEnableTreesitterOption "Whether to enable Latex treesitter";
|
||||
enable = mkEnableTreesitterOption config "latex";
|
||||
package = mkGrammarOption pkgs "latex";
|
||||
};
|
||||
bibtex = {
|
||||
# enable = mkEnableTreesitterOption "Whether to enable Bibtex treesitter";
|
||||
enable = mkEnableTreesitterOption config "bibtex";
|
||||
package = mkGrammarOption pkgs "bibtex";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue