applied my custom settings without breaking anything

This commit is contained in:
topper3418 2024-07-21 22:46:30 -05:00
parent 452854b26d
commit 6aa224ecad
24 changed files with 3034 additions and 768 deletions

18
lua/settings.lua Normal file
View file

@ -0,0 +1,18 @@
-- this allows for collapsing folds.
vim.opt.foldmethod = 'expr'
vim.opt.foldexpr = 'nvim_treesitter#foldexpr()'
vim.opt.foldlevelstart = 99
-- relative line numbers and line numbers
vim.opt.nu = true
vim.opt.relativenumber = true
-- tabbing options
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
vim.opt.smartindent = true
-- this is transparent background
vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' })
vim.api.nvim_set_hl(0, 'NormalFloat', { bg = 'none' })
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et