From 4d3bb0270aa6e76131fb12c191a07fde8cd819fe Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Mon, 21 Apr 2025 15:15:42 +0300 Subject: =?UTF-8?q?=D0=9F=D1=80=D0=B8=D0=B2=D1=91=D0=BB=20nvim=20=D0=BA=20?= =?UTF-8?q?=D0=B4=D0=BE=D1=81=D1=82=D0=B0=D1=82=D0=BE=D1=87=D0=BD=D0=BE?= =?UTF-8?q?=D0=BC=D1=83=20=D1=81=D0=BE=D1=81=D1=82=D0=BE=D1=8F=D0=BD=D0=B8?= =?UTF-8?q?=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/lua/options.lua | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'nvim/lua/options.lua') diff --git a/nvim/lua/options.lua b/nvim/lua/options.lua index 6f575a9..518329a 100644 --- a/nvim/lua/options.lua +++ b/nvim/lua/options.lua @@ -28,18 +28,24 @@ local options = { tabstop = 4, cursorline = true, number = true, - relativenumber = true, + -- relativenumber = true, numberwidth = 4, signcolumn = "yes", wrap = true, scrolloff = 8, sidescrolloff = 8, + syntax = "on", + foldmethod = "expr", + foldexpr = "nvim_treesitter#foldexpr()", + foldnestmax = 4, + foldlevel = 99, + foldlevelstart = 1, } -vim.opt.shortmess:append "c" +vim.opt.shortmess:append("c") for k, v in pairs(options) do vim.opt[k] = v end -vim.cmd "set whichwrap+=<,>,[,],h,l" +vim.cmd("set whichwrap+=<,>,[,],h,l") -- cgit v1.2.3