mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-02 17:15:55 +00:00
plugin/vimtex cleanup for pull request
This commit is contained in:
parent
872f024d5b
commit
294d658e78
3 changed files with 10 additions and 9 deletions
|
|
@ -4,18 +4,10 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkIf;
|
||||
# inherit (lib.nvim.dag) entryAnywhere;
|
||||
# inherit (lib.nvim.lua) toLuaObject;
|
||||
|
||||
cfg = config.vim.latex.vimtex;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
vim.startPlugins = ["vimtex"];
|
||||
|
||||
# vim.pluginRC.vimtex = entryAnywhere ''
|
||||
# -- Description of each option can be found in https://github.com/lervag/vimtex
|
||||
# -- Current nvf options are minimal, contribute your needed options
|
||||
# -- require("vimtex").setup(${toLuaObject cfg.setupOpts})
|
||||
# '';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,11 @@
|
|||
inherit (lib.nvim.types) mkPluginSetupOption;
|
||||
in {
|
||||
options.vim.latex.vimtex = {
|
||||
enable = mkEnableOption "VimTeX is a modern Vim and Neovim filetype and syntax plugin for LaTeX files.";
|
||||
enable = mkEnableOption ''
|
||||
VimTeX is a modern Vim and Neovim filetype and syntax plugin for LaTeX files.
|
||||
|
||||
VimTeX options are under vim.global.vimtex_OPTION
|
||||
'';
|
||||
|
||||
setupOpts = mkPluginSetupOption "vimtex" {
|
||||
vimtex_view_method = mkOption {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue