feat(nvim): I didn't remember

This commit is contained in:
sankalp committed 2024-01-23 19:31:15 +05:45
1 parent de4990f75a
commit cf61fe2dd4
11 files changed
+64 -80

No files matched your search

+8 -8
View File
@@ -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