<commit_before>/*
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

//! Utilities for reading, writing, and transforming data for the LSP service
// We use two crates, lsp_types and lsp_server, for interacting with LSP. This module re-exports
// types from both so that we have a central source-of-truth for all LSP-related utilities.

use crate::lsp_process_error::LSPProcessResult;
use crossbeam::channel::{SendError, Sender};
use lsp_server::{Message, Notification as ServerNotification, Request as ServerRequest};
pub use lsp_types::*;
use lsp_types::{
    notification::{Notification, PublishDiagnostics, ShowMessage},
    request::Request,
};
use serde::{Deserialize, Serialize};

#[derive(Debug)]
pub enum ShowStatus {}<commit_msg>Do not export lsp_types::* from lsp.rs<commit_after>/*
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

//! Utilities for reading, writing, and transforming data for the LSP service
// We use two crates, lsp_types and lsp_server, for interacting with LSP. This module re-exports
// types from both so that we have a central source-of-truth for all LSP-related utilities.

use crate::lsp_process_error::LSPProcessResult;
use crossbeam::channel::{SendError, Sender};
use lsp_server::{Message, Notification as ServerNotification, Request as ServerRequest};
use lsp_types::{
    notification::{Notification, PublishDiagnostics, ShowMessage},
    request::Request,
    MessageActionItem, MessageType, PublishDiagnosticsParams, ShowMessageParams,
};
use serde::{Deserialize, Serialize};

#[derive(Debug)]
pub enum ShowStatus {}
{'fraction_non_alphanumeric': 0.09606986899563319, 'fraction_numerical': 0.0, 'mean_word_length': 5.277397260273973, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5984012', 'n_tokens_mistral': 504, 'n_tokens_neox': 509, 'n_words': 202}