nix-infra/modules/home/nvim/lua/config/options.lua
2024-04-01 19:16:35 +02:00

13 lines
414 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
-- This file is automatically loaded by plugins.core
vim.g.mapleader = " "
vim.g.maplocalleader = "\\"
vim.g.autoformat = false
local opt = vim.opt
opt.spelllang = { "en", "de" }
opt.autoread = true