Files
nvim-config/lua/config/options.lua
T

16 lines
556 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
-- VimTeX local leader (must be set before plugins load)
vim.g.maplocalleader = ","
vim.diagnostic.config({
virtual_text = false,
virtual_lines = true,
})
-- Spell-checking files (spell itself is enabled per filetype in autocmds.lua)
vim.opt.spelllang = { "en_us" }
vim.opt.spellfile = vim.fn.expand("~/.config/nvim/spell/en.utf-8.add")