💄 style(nvim): use abrev on options.lua
This commit is contained in:
parent
82f98f0504
commit
36dac1d9bf
1 changed files with 8 additions and 8 deletions
|
@ -1,22 +1,22 @@
|
|||
-- 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
|
||||
local opt = vim.g
|
||||
local o = vim.g
|
||||
|
||||
-- Optimizations on startup
|
||||
vim.loader.enable()
|
||||
|
||||
-- Define leader key
|
||||
opt.mapleader = " "
|
||||
opt.maplocalleader = "\\"
|
||||
o.mapleader = " "
|
||||
o.maplocalleader = "\\"
|
||||
|
||||
-- Autoformat on save (Global)
|
||||
opt.autoformat = true
|
||||
o.autoformat = true
|
||||
|
||||
-- Font
|
||||
opt.gui_font_default_size = 10
|
||||
opt.gui_font_size = opt.gui_font_default_size
|
||||
opt.gui_font_face = "JetBrainsMono Nerd Font"
|
||||
o.gui_font_default_size = 10
|
||||
o.gui_font_size = o.gui_font_default_size
|
||||
o.gui_font_face = "JetBrainsMono Nerd Font"
|
||||
|
||||
-- Enable EditorConfig integration
|
||||
opt.editorconfig = true
|
||||
o.editorconfig = true
|
||||
|
|
Loading…
Add table
Reference in a new issue