1
0

options.lua 639 B

1234567891011121314151617181920212223242526
  1. -- Options are automatically loaded before lazy.nvim startup
  2. -- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
  3. -- Add any additional options here
  4. --
  5. vim.opt.termguicolors = true
  6. vim.opt.winbar = "%=%m %f"
  7. vim.opt.number = true
  8. vim.opt.relativenumber = true
  9. vim.opt.tabstop = 4
  10. vim.opt.expandtab = true
  11. vim.opt.softtabstop = 4
  12. vim.opt.shiftwidth = 4
  13. vim.opt.autoindent = true
  14. vim.g.autoformat = false
  15. -- If we are on windows, we want to specify the shell to use powershell
  16. if vim.fn.has("win32") == 1 then
  17. vim.opt.shell = "powershell.exe"
  18. end
  19. vim.g.autoclose = 0