flake-update-20260201
1-- Options are automatically loaded before lazy.nvim startup
2-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
3
4local opt = vim.opt
5
6-- General
7opt.clipboard = "unnamedplus" -- Sync with system clipboard
8opt.confirm = true -- Confirm before closing unsaved buffer
9opt.mouse = "a" -- Enable mouse
10opt.undofile = true -- Persistent undo
11opt.undolevels = 10000
12
13-- UI
14opt.number = true
15opt.relativenumber = true
16opt.signcolumn = "yes"
17opt.termguicolors = true
18opt.wrap = false
19
20-- Indentation
21opt.expandtab = true
22opt.shiftwidth = 2
23opt.tabstop = 2
24opt.smartindent = true
25
26-- Search
27opt.ignorecase = true
28opt.smartcase = true
29opt.hlsearch = true
30opt.incsearch = true
31
32-- Splits
33opt.splitbelow = true
34opt.splitright = true
35
36-- Scrolling
37opt.scrolloff = 8
38opt.sidescrolloff = 8
39
40-- Completion
41opt.completeopt = "menu,menuone,noselect"
42
43-- Spelling (French)
44opt.spelllang = { "en", "fr" }