refactor!: options moved to AstroCore
parent
568db39c67
commit
4aa332ee0b
|
@ -14,6 +14,12 @@ if not lazy_loaded then
|
|||
vim.cmd.quit()
|
||||
end
|
||||
|
||||
-- must configure leader key before Lazy is set up
|
||||
vim.g.mapleader = " "
|
||||
|
||||
-- Set to false to disable icons (if no Nerd Font is available)
|
||||
vim.g.icons_enabled = true
|
||||
|
||||
---@type LazyConfig
|
||||
lazy.setup({
|
||||
-- TODO: change `branch="v4"` to `version="^4"` on release
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
-- Options are automatically loaded before lazy.nvim startup
|
||||
-- Default options that are always set: https://github.com/AstroNvim/AstroNvim/blob/main/lua/astronvim/options.lua
|
||||
-- Add any additional options here
|
||||
|
||||
-- vim.opt.relativenumber = true -- sets vim.opt.relativenumber
|
||||
-- vim.opt.number = true -- sets vim.opt.number
|
||||
-- vim.opt.spell = false -- sets vim.opt.spell
|
||||
-- vim.opt.signcolumn = "auto" -- sets vim.opt.signcolumn to auto
|
||||
-- vim.opt.wrap = false -- sets vim.opt.wrap
|
||||
|
||||
-- vim.g.mapleader = " " -- sets vim.g.mapleader
|
||||
-- vim.g.icons_enabled = false -- disable icons in the UI (disable if no nerd font is available)
|
|
@ -0,0 +1,17 @@
|
|||
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
|
||||
|
||||
return {
|
||||
"AstroNvim/astrocore",
|
||||
---@type AstroCoreOpts
|
||||
opts = {
|
||||
options = {
|
||||
opt = {
|
||||
relativenumber = true, -- sets vim.opt.relativenumber
|
||||
number = true, -- sets vim.opt.number
|
||||
spell = false, -- sets vim.opt.spell
|
||||
signcolumn = "auto", -- sets vim.opt.signcolumn to auto
|
||||
wrap = false, -- sets vim.opt.wrap
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue