Move options from init.lua => options.lua
use a local g = vim.g
This commit is contained in:
parent
42bf581337
commit
0d7345bc44
2 changed files with 15 additions and 17 deletions
8
init.lua
8
init.lua
|
|
@ -2,14 +2,8 @@
|
|||
require "pluginList"
|
||||
require "options"
|
||||
|
||||
local g = vim.g
|
||||
|
||||
g.mapleader = " "
|
||||
g.auto_save = false
|
||||
|
||||
-- colorscheme related stuff
|
||||
|
||||
g.nvchad_theme = "onedark"
|
||||
vim.g.nvchad_theme = "onedark"
|
||||
local base16 = require "base16"
|
||||
base16(base16.themes["onedark"], true)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue