mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
23 lines
669 B
Lua
23 lines
669 B
Lua
-- Options are automatically loaded before lazy.nvim startup
|
|
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
|
-- Add any additional options here
|
|
|
|
vim.opt.tabstop = 2
|
|
vim.opt.shiftwidth = 2
|
|
vim.opt.softtabstop = 2
|
|
vim.opt.expandtab = true
|
|
vim.opt.smartindent = true
|
|
|
|
vim.cmd([[
|
|
autocmd FileType python setlocal tabstop=4 shiftwidth=4 softtabstop=4
|
|
autocmd FileType haskell setlocal tabstop=4 shiftwidth=4 softtabstop=4
|
|
]])
|
|
|
|
vim.opt.ignorecase = true
|
|
vim.opt.smartcase = true
|
|
|
|
vim.opt.swapfile = false
|
|
vim.opt.backup = false
|
|
vim.opt.undofile = true
|
|
|
|
vim.opt.guicursor = "n-v-c:block,i:block,r:block"
|