This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / tools / astronvim / user / options.lua
1.5 kB 30 lines
1-- set vim options here (vim.<first_key>.<second_key> = value) 2return { 3 opt = { 4 -- set to true or false etc. 5 relativenumber = true, -- sets vim.opt.relativenumber 6 number = true, -- sets vim.opt.number 7 spell = false, -- sets vim.opt.spell 8 signcolumn = "auto", -- sets vim.opt.signcolumn to auto 9 wrap = false, -- sets vim.opt.wrap 10 }, 11 g = { 12 mapleader = " ", -- sets vim.g.mapleader 13 autoformat_enabled = true, -- enable or disable auto formatting at start (lsp.formatting.format_on_save must be enabled) 14 cmp_enabled = true, -- enable completion at start 15 autopairs_enabled = true, -- enable autopairs at start 16 diagnostics_mode = 3, -- set the visibility of diagnostics in the UI (0=off, 1=only show in status line, 2=virtual text off, 3=all on) 17 icons_enabled = true, -- disable icons in the UI (disable if no nerd font is available, requires :PackerSync after changing) 18 ui_notifications_enabled = true, -- disable notifications when toggling UI elements 19 resession_enabled = false, -- enable experimental resession.nvim session management (will be default in AstroNvim v4) 20 }, 21} 22-- If you need more control, you can use the function()...end notation 23-- return function(local_vim) 24-- local_vim.opt.relativenumber = true 25-- local_vim.g.mapleader = " " 26-- local_vim.opt.whichwrap = vim.opt.whichwrap - { 'b', 's' } -- removing option from list 27-- local_vim.opt.shortmess = vim.opt.shortmess + { I = true } -- add to option list 28-- 29-- return local_vim 30-- end