Move my defaults to init.lua

There is no plugin default, why after/plugin/default.lua is not run
This commit is contained in:
Thomas Ruoff
2023-10-11 23:50:52 +02:00
parent 84eeceb6fa
commit c4ce956a1d
2 changed files with 28 additions and 29 deletions

View File

@@ -157,9 +157,36 @@ require('lazy').setup({
-- [[ Setting options ]]
-- See `:help vim.o`
--
-- look mom, no backups
vim.o.backup = false
vim.o.swapfile = false
vim.o.writebackup = false
vim.o.colorcolumn = '80,120'
vim.o.shiftwidth = 2
vim.o.tabstop = 2
-- global status line ftw
vim.opt.laststatus = 3
-- well, do I recall what this does? I don't atm
vim.o.splitbelow = true
vim.o.splitright = true
-- spelling
vim.o.spelllang = 'en_us,en_gb,de'
-- scrolloff
vim.o.scrolloff = 4
vim.o.sidescrolloff = 4
-- sometimes handy, sometimes not, still evaluating
vim.o.winbar = '%=%m %f'
-- Set highlight on search
vim.o.hlsearch = false
vim.o.hlsearch = true
-- Make line numbers default
vim.wo.number = true