/
as.lizin
/
nvim
Обзор
Документация
Войти
/
as.lizin
/
nvim
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
lua/options.lua
40 строк
855 B
as.lizin
* Add search result screen centering
11 ноя 2025, 13:40
11 ноя 2025, 13:40
6dc9601
Код
Авторство
О чём код?
local o = vim.o vim.g.mapleader = " " o.laststatus = 3 -- global statusline o.showmode = false o.clipboard = "unnamedplus" -- Indenting o.expandtab = true o.shiftwidth = 2 o.smartindent = true o.tabstop = 2 o.softtabstop = 2 -- Search result scrol - it's center search result on the screen o.scrolloff = 25 vim.opt.fillchars = { eob = " " } o.ignorecase = true o.smartcase = true o.mouse = "a" o.number = true o.signcolumn = "yes" o.splitbelow = true o.splitright = true o.termguicolors = true o.timeoutlen = 400 o.undofile = true o.cursorline = true o.relativenumber = true -- add binaries installed by mason.nvim to path local is_windows = vim.loop.os_uname().sysname == "Windows_NT" vim.env.PATH = vim.env.PATH .. (is_windows and ";" or ":") .. vim.fn.stdpath "data" .. "/mason/bin" vim.api.nvim_set_hl(0, "IndentLine", { link = "Comment" })