19 lines
		
	
	
		
			592 B
		
	
	
	
		
			Lua
		
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			592 B
		
	
	
	
		
			Lua
		
	
	
	
| -- 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.rnu = 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
 |