Files
nix-thinkcentre/nvim/lua/config/options.lua
2025-10-11 22:41:24 +05:00

40 lines
783 B
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- Нумерация строки
vim.opt.number = true
-- Табуляция
vim.opt.tabstop = 2
vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
-- Подсветка текущей строки
vim.opt.cursorline = true
-- Прокрутка
vim.opt.scrolloff = 5
vim.opt.sidescrolloff = 5
vim.opt.list = true
vim.opt.listchars = {
tab = '',
trail = '·',
nbsp = '',
extends = '',
precedes = ''
}
vim.opt.fillchars = { eob = " " }
vim.opt.ignorecase = true
vim.opt.smartcase = true
vim.opt.incsearch = true
vim.opt.hlsearch = true
vim.opt.wrapscan = true
vim.opt.inccommand = "split"
-- Выкл netrw для nvim-tree
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.g.barbar_auto_setup = false