💄 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
|
-- 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue