<commit_before>local opt = vim.opt

-- Map <Space> to be our leader key.
vim.g.mapleader = " "

-- ================ General ==========================
opt.wrap = false            -- Have long text extend off-screen.
opt.relativenumber = true   -- Make motion math easier.
opt.number = true           -- Relative line numbers, except for the current line ("hybrid").

-- ================ Appearance =======================
opt.list = true             -- Keep files tidy: show tabs, trailing whitespace, and nbsp.
opt.cursorline = true       -- Highlight the line the cursor is on to make it easy to see.
opt.guicursor = ''          -- Disable default cursor styling (skinny cursor in insert mode).
opt.termguicolors = true    -- Assume we're using a modern terminal, full 24-bit RGB color.

-- ================ Indentation ======================
opt.shiftwidth = 2          -- Number of spaces to use for (auto)indentation and >>, <<.
opt.shiftround = true       -- Round indentation to a multiple of `shiftwidth` for consistency.
opt.tabstop = 2             -- Number of spaces to use for a tab.
opt.expandtab = true        -- Pressing <Tab> inserts spaces instead.

-- ================ Search ===========================
opt.ignorecase = true       -- Make searches case-insensitive.<commit_msg>Enabled `smartindent` in nvim config.<commit_after>local opt = vim.opt

-- Map <Space> to be our leader key.
vim.g.mapleader = " "

-- ================ General ==========================
opt.wrap = false            -- Have long text extend off-screen.
opt.relativenumber = true   -- Make motion math easier.
opt.number = true           -- Relative line numbers, except for the current line ("hybrid").

-- ================ Appearance =======================
opt.list = true             -- Keep files tidy: show tabs, trailing whitespace, and nbsp.
opt.cursorline = true       -- Highlight the line the cursor is on to make it easy to see.
opt.guicursor = ''          -- Disable default cursor styling (skinny cursor in insert mode).
opt.termguicolors = true    -- Assume we're using a modern terminal, full 24-bit RGB color.

-- ================ Indentation ======================
opt.smartindent = true      -- Increase autoindent sophistication.
opt.shiftwidth = 2          -- Number of spaces to use for (auto)indentation and >>, <<.
opt.shiftround = true       -- Round indentation to a multiple of `shiftwidth` for consistency.
opt.tabstop = 2             -- Number of spaces to use for a tab.
opt.expandtab = true        -- Pressing <Tab> inserts spaces instead.

-- ================ Search ===========================
opt.ignorecase = true       -- Make searches case-insensitive.
{'fraction_non_alphanumeric': 0.20648527767424524, 'fraction_numerical': 0.002981736861721953, 'mean_word_length': 2.867435158501441, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '5381656', 'n_tokens_mistral': 726, 'n_tokens_neox': 670, 'n_words': 268}