1
0
Fork 0

nvim: Migrate configuration to lua and built-in plugin manager

This commit is contained in:
Olli 2026-04-19 12:53:37 +02:00
commit 6440203958
26 changed files with 453 additions and 616 deletions

38
nvim/lua/user/options.lua Normal file
View file

@ -0,0 +1,38 @@
vim.o.wrap = false
vim.o.number = true
vim.o.wildmode = "longest,list"
vim.o.colorcolumn = "120"
vim.o.tabpagemax = 500
vim.o.scrolloff = 4;
-- Indentation
vim.o.smartindent = true
vim.o.tabstop = 4
vim.o.softtabstop = 4
vim.o.shiftwidth = 4
vim.o.expandtab = true
vim.o.cursorcolumn = true
vim.o.cursorline = true
-- Search
vim.o.incsearch = true
vim.o.hlsearch = true
vim.o.ignorecase = true
vim.o.smartcase = true
-- Whitespaces
vim.o.listchars = "tab:>-,trail:·"
vim.o.list = true
-- File handling
vim.o.hidden = true
vim.cmd("syntax enable")
vim.cmd("filetype plugin on")
-- Colorscheme
vim.cmd("colorscheme gruvbox")
-- REST
vim.g.rest_nvim = {
}