💄 style(nvim): use abrev on options.lua

This commit is contained in:
Sergio Laín 2024-01-23 10:06:40 +01:00
parent 82f98f0504
commit 36dac1d9bf
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -1,22 +1,22 @@
-- Options are automatically loaded before lazy.nvim startup -- 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 -- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here -- Add any additional options here
local opt = vim.g local o = vim.g
-- Optimizations on startup -- Optimizations on startup
vim.loader.enable() vim.loader.enable()
-- Define leader key -- Define leader key
opt.mapleader = " " o.mapleader = " "
opt.maplocalleader = "\\" o.maplocalleader = "\\"
-- Autoformat on save (Global) -- Autoformat on save (Global)
opt.autoformat = true o.autoformat = true
-- Font -- Font
opt.gui_font_default_size = 10 o.gui_font_default_size = 10
opt.gui_font_size = opt.gui_font_default_size o.gui_font_size = o.gui_font_default_size
opt.gui_font_face = "JetBrainsMono Nerd Font" o.gui_font_face = "JetBrainsMono Nerd Font"
-- Enable EditorConfig integration -- Enable EditorConfig integration
opt.editorconfig = true o.editorconfig = true