applied my custom settings without breaking anything
This commit is contained in:
parent
452854b26d
commit
6aa224ecad
24 changed files with 3034 additions and 768 deletions
18
lua/settings.lua
Normal file
18
lua/settings.lua
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue