From 2ba4b1ac7860085c0b259aacb0d99bd2c730edbc Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 13 Jun 2021 03:03:20 +0000 Subject: CTAN sync 202106130303 --- support/texlab/src/options.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'support/texlab/src/options.rs') diff --git a/support/texlab/src/options.rs b/support/texlab/src/options.rs index 2626143e18..20f92a90f4 100644 --- a/support/texlab/src/options.rs +++ b/support/texlab/src/options.rs @@ -75,6 +75,12 @@ pub struct BuildOptions { #[serde(default)] pub is_continuous: bool, + + #[serde(default)] + pub on_save: bool, + + #[serde(default)] + pub forward_search_after: bool, } impl BuildOptions { @@ -97,6 +103,17 @@ impl BuildOptions { } } +#[derive(Debug, PartialEq, Eq, Clone, Default, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct ViewerOptions { + #[serde(default)] + pub enabled: bool, + + pub executable: Option, + + pub args: Option, +} + #[derive(Debug, PartialEq, Eq, Clone, Default, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct ChktexOptions { -- cgit v1.2.3