<commit_before>/**
 * DefaultConfiguration.ts
 *
 * Specifies Oni default settings
 */

import * as os from "os"

import * as path from "path"

import * as Platform from "./../../Platform"

import { IConfigurationValues } from "./IConfigurationValues"
import { ocamlAndReasonConfiguration, ocamlLanguageServerPath } from "./ReasonConfiguration"

const noop = () => {} // tslint:disable-line no-empty

const cssLanguageServerPath = path.join(
    __dirname,
    "node_modules",
    "vscode-css-languageserver-bin",
    "cssServerMain.js",
)
const htmlLanguageServerPath = path.join(
    __dirname,
    "node_modules",
    "vscode-html-languageserver-bin",
    "htmlServerMain.js",
)

const BaseConfiguration: IConfigurationValues = {
    activate: noop,
    deactivate: noop,

    "autoUpdate.enabled": false,
    "configuration.editor": "javascript",

    "debug.fixedSize": null,
    "debug.neovimPath": null,
    "debug.persistOnNeovimExit": false,
    "debug.detailedSessionLogging": false,
    "debug.showTypingPrediction": false,

    "debug.fakeLag.languageServer": null,
    "debug.fakeLag.neovimInput": null,

    "wildmenu.mode": true,
    "commandline.mode": true,
    "commandline.icons": true,
    "experimental.learning.enabled": true,
    "experimental.welcome.enabled": false,

    "experimental.neovim.transport": "stdio",
    // TODO: Enable pipe transport for Windows
    // "experimental.neovim.transport": Platform.isWindows() ? "pipe" : "stdio",

    "editor.maxLinesForLanguageServices": 2500,
    "editor.textMateHighlighting.enabled": true,

    "autoClosingPairs.enabled": true,
    "autoClosingPairs.default": [
        { open: "{", close: "}" },
        { open: "[", close: "]" },
        { open: "(", close: ")" },
    ],

    "oni.audio.bellUrl": null,

    "oni.useDefaultConfig": true,

    "oni.enhancedSyntaxHighlighting": true,

    "oni.loadInitVim": false,

    "oni.hideMenu": false,
<commit_msg>Disable learning pane by default (#1683)<commit_after>/**
 * DefaultConfiguration.ts
 *
 * Specifies Oni default settings
 */

import * as os from "os"

import * as path from "path"

import * as Platform from "./../../Platform"

import { IConfigurationValues } from "./IConfigurationValues"
import { ocamlAndReasonConfiguration, ocamlLanguageServerPath } from "./ReasonConfiguration"

const noop = () => {} // tslint:disable-line no-empty

const cssLanguageServerPath = path.join(
    __dirname,
    "node_modules",
    "vscode-css-languageserver-bin",
    "cssServerMain.js",
)
const htmlLanguageServerPath = path.join(
    __dirname,
    "node_modules",
    "vscode-html-languageserver-bin",
    "htmlServerMain.js",
)

const BaseConfiguration: IConfigurationValues = {
    activate: noop,
    deactivate: noop,

    "autoUpdate.enabled": false,
    "configuration.editor": "javascript",

    "debug.fixedSize": null,
    "debug.neovimPath": null,
    "debug.persistOnNeovimExit": false,
    "debug.detailedSessionLogging": false,
    "debug.showTypingPrediction": false,

    "debug.fakeLag.languageServer": null,
    "debug.fakeLag.neovimInput": null,

    "wildmenu.mode": true,
    "commandline.mode": true,
    "commandline.icons": true,
    "experimental.learning.enabled": false,
    "experimental.welcome.enabled": false,

    "experimental.neovim.transport": "stdio",
    // TODO: Enable pipe transport for Windows
    // "experimental.neovim.transport": Platform.isWindows() ? "pipe" : "stdio",

    "editor.maxLinesForLanguageServices": 2500,
    "editor.textMateHighlighting.enabled": true,

    "autoClosingPairs.enabled": true,
    "autoClosingPairs.default": [
        { open: "{", close: "}" },
        { open: "[", close: "]" },
        { open: "(", close: ")" },
    ],

    "oni.audio.bellUrl": null,

    "oni.useDefaultConfig": true,

    "oni.enhancedSyntaxHighlighting": true,

    "oni.loadInitVim": false,

    "oni.hideMenu": false,

{'fraction_non_alphanumeric': 0.14766307139188495, 'fraction_numerical': 0.0030816640986132513, 'mean_word_length': 3.604018912529551, 'pattern_counts': {'":': 50, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4552624', 'n_tokens_mistral': 1279, 'n_tokens_neox': 1211, 'n_words': 241}