Initial commit

This commit is contained in:
Folkert Kevelam 2024-10-11 18:12:33 +02:00
parent 8267223fbd
commit 1953a751f3

59
neovim/init.lua Normal file
View File

@ -0,0 +1,59 @@
vim.cmd[[packadd packer.nvim]]
vim.opt.nu = true
vim.opt.relativenumber = true
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
vim.opt.smartindent = true
vim.opt.wrap = false
vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
vim.opt.undofile = true
vim.opt.hlsearch = false
vim.opt.incsearch = true
vim.opt.termguicolors = true
vim.opt.scrolloff = 8
vim.opt.signcolumn = "yes"
vim.opt.isfname:append("@-@")
vim.opt.updatetime = 50
vim.opt.colorcolumn = "80"
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.g.rainbow_active = 1
vim.g.indent_guides_start_level=1
vim.cmd('filetype plugin on')
vim.cmd('syntax on')
require('packer').startup(function(use)
use('folke/tokyonight.nvim')
use('euclidianAce/BetterLua.vim')
use('~/Documents/Projects/Neovim/SpecSwitcher')
end)
require('SpecSwitcher').setup()
require('tokyonight').setup({
style = "storm",
light_style = "day",
transparent = false,
terminal_colors = true,
})
vim.cmd[[colorscheme tokyonight]]