121 lines
4.5 KiB
Lua
121 lines
4.5 KiB
Lua
--[[
|
||
|
||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣾⣷⣦⣄⡀
|
||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⣷⣦⣄⡀
|
||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣦⣄⡀
|
||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠚⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠗⢀
|
||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣄⡉⠓⠦⣌⡙⠻⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⢋⣡⠴⠚⢉⣠⣤⣀
|
||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣤⣶⣿⣿⣿⣿⣿⣷⣦⣄⡉⠓⠦⣌⡙⠻⢿⣿⣿⣿⣿⣿⣿⡿⠟⢋⣡⠴⠚⢉⣠⣴⣾⣿⣿⣿⣿⣿⣶⣤
|
||
⠀⠀⠀⠀⠀⠀⠀⠀⠐⣦⣄⡉⠛⠿⣿⣿⣿⣿⣿⣿⣿⣷⣦⣄⡉⠓⠦⣌⡙⠻⠟⢋⣡⠴⠚⢉⣠⣴⣾⣿⣿⣿⣿⣿⣿⣿⠿⠛⢉⣠⣴⠂
|
||
⠀⠀⠀⠀⢀⣠⣴⣆⡈⠻⢿⣿⣷⣦⣄⡉⠛⠿⣿⣿⣿⣿⣿⣿⣿⣷⣦⣄⡉⠃⠘⢉⣠⣴⣾⣿⣿⣿⣿⣿⣿⣿⠿⠛⢉⣠⣴⣾⣿⡿⠟⢁⣰⣦⣄⡀
|
||
⠀⠀⠐⠾⣿⣿⣿⣿⣿⣷⣦⣌⡙⠻⢿⣿⣷⣦⣄⡉⠛⠿⣿⣿⣿⣿⣿⣿⣿⣷⣾⣿⣿⣿⣿⣿⣿⣿⠿⠛⢉⣠⣴⣾⣿⡿⠟⢋⣡⣴⣾⣿⣿⣿⣿⣿⠷⠂
|
||
⠀⢸⣷⣦⣄⡉⠛⠿⣿⣿⣿⣿⣿⣷⣦⣌⡙⠻⢿⣿⣷⣦⣄⡉⠛⠿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⢉⣠⣴⣾⣿⡿⠟⢋⣡⣴⣾⣿⣿⣿⣿⣿⠿⠛⢉⣠⣴⣾⡇
|
||
⠀⢸⣿⣿⣿⣿⣷⣦⣄⡉⠛⠿⣿⣿⣿⣿⣿⣷⣦⣌⡙⠻⢿⣿⣷⣦⣄⡉⠛⠿⠿⠛⢉⣠⣴⣾⣿⡿⠟⢋⣡⣴⣾⣿⣿⣿⣿⣿⠿⠛⢉⣠⣴⣾⣿⣿⣿⣿⡇
|
||
⠀⠀⠉⠛⠿⣿⣿⣿⣿⣿⣷⣦⣄⡉⠛⠿⣿⣿⣿⣿⣿⣷⣦⣌⡙⠻⢿⣿⣷⡆⢰⣾⣿⡿⠟⢋⣡⣴⣾⣿⣿⣿⣿⣿⠿⠛⢉⣠⣴⣾⣿⣿⣿⣿⣿⠿⠛⠉
|
||
⠀⠀⠀⠀⠀⠀⠉⠛⠿⣿⣿⣿⣿⣿⣷⣦⣄⡉⠛⠿⣿⣿⣿⣿⣿⣷⣦⣌⡙⠃⠘⢋⣡⣴⣾⣿⣿⣿⣿⣿⠿⠛⢉⣠⣴⣾⣿⣿⣿⣿⣿⠿⠛⠉
|
||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⠿⣿⣿⣿⣿⣿⣷⣦⣄⡉⠛⠿⣿⣿⣿⣿⣿⣷⣾⣿⣿⣿⣿⣿⠿⠛⢉⣠⣴⣾⣿⣿⣿⣿⣿⠿⠛⠉
|
||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⠿⣿⣿⣿⣿⣿⣷⣦⣄⡉⠛⠿⣿⣿⣿⣿⠿⠛⢉⣠⣴⣾⣿⣿⣿⣿⣿⠿⠛⠉
|
||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⠿⣿⣿⣿⣿⣿⣷⣦⣄⡉⢉⣠⣴⣾⣿⣿⣿⣿⣿⠿⠛⠉
|
||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⠿⣿⣿⣿⣿⡇⢸⣿⣿⣿⣿⠿⠛⠉
|
||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⠿⡇⢸⠿⠛⠉
|
||
|
||
__ _ _
|
||
/ _|___ ___| |_ __ _ ___| | __
|
||
| ||_ /____/ __| __/ _` |/ __| |/ /
|
||
| _/ /_____\__ \ || (_| | (__| <
|
||
|_|/___| |___/\__\__,_|\___|_|\_\
|
||
|
||
Neovim 0.12 configuration
|
||
(c) Frank Zechert 2026
|
||
]]
|
||
|
||
local opt = vim.opt
|
||
|
||
-- UI
|
||
opt.background = "dark"
|
||
opt.breakindentopt = "min:20,shift:2,sbr,list:-1"
|
||
opt.colorcolumn = "+1,+2,+3"
|
||
opt.cursorcolumn = true
|
||
opt.cursorline = true
|
||
opt.cursorlineopt = "both"
|
||
opt.linebreak = true
|
||
opt.list = true
|
||
opt.listchars = {
|
||
tab = "> ",
|
||
space = "-",
|
||
multispace = "---+",
|
||
lead = "-",
|
||
leadmultispace="---+",
|
||
leadtab = "> ",
|
||
trail = "x",
|
||
extends = ">",
|
||
precedes = "<",
|
||
conceal = "X",
|
||
nbsp = "_",
|
||
}
|
||
opt.number = true
|
||
opt.relativenumber = false
|
||
opt.winborder = "single"
|
||
opt.pumborder = "single"
|
||
opt.scrolloff = 5
|
||
opt.sidescrolloff = 3
|
||
opt.showbreak = "%"
|
||
opt.signcolumn = "yes"
|
||
opt.splitbelow = true
|
||
opt.splitright = true
|
||
opt.termguicolors = true
|
||
opt.textwidth = 120
|
||
opt.wrap = true
|
||
opt.wrapmargin = 3
|
||
|
||
-- Editing
|
||
opt.autoindent = true
|
||
opt.backspace = "indent,eol,start"
|
||
opt.expandtab = false
|
||
|
||
opt.preserveindent = true
|
||
opt.shiftround = true
|
||
opt.shiftwidth = 0
|
||
opt.tabstop = 4
|
||
opt.smarttab = true
|
||
opt.smartindent = true
|
||
opt.breakindent = true
|
||
|
||
-- Search
|
||
opt.hlsearch = true
|
||
opt.ignorecase = true
|
||
opt.inccommand = "nosplit"
|
||
opt.incsearch = true
|
||
opt.smartcase = true
|
||
|
||
-- Files
|
||
opt.backup = false
|
||
opt.writebackup = false
|
||
opt.fileformat = "unix"
|
||
opt.fileencoding = "utf-8"
|
||
opt.undofile = true
|
||
opt.swapfile = true
|
||
|
||
|
||
-- Performance
|
||
opt.updatetime = 1000
|
||
opt.timeoutlen = 600
|
||
|
||
-- Mouse & Clipboard
|
||
opt.mouse = "a"
|
||
opt.clipboard = "unnamedplus"
|
||
|
||
-- Folding
|
||
opt.foldenable = true
|
||
opt.foldmethod = "expr"
|
||
opt.foldexpr = "v:lua.vim.treesitter.foldexpr()"
|
||
opt.foldlevel = 99
|
||
|
||
-- Autocompletion
|
||
opt.autocomplete = false
|
||
opt.autocompletedelay = 0
|
||
opt.autocompletetimeout = 0
|
||
opt.completeopt = "menu,menuone,noselect"
|
||
opt.completetimeout = 0
|
||
|