diff --git a/nvim/init.lua b/nvim/init.lua index 0ce79e5..b53310c 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -1,6 +1,11 @@ -- Surdeus init file. -- surdeus@gmail.com +-- Reload all the modules without caching. +for name, _ in pairs(package.loaded) do + package.loaded[name] = nil +end + vim.cmd.language("en_US") vim.opt.swapfile = false @@ -8,6 +13,7 @@ vim.o.number = true vim.o.cursorline = true vim.o.guicursor = 'n-v-c-sm-i-ci-ve:block,r-cr-o:hor20,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor' + require("indent") require("maps") diff --git a/nvim/lua/color/cons.lua b/nvim/lua/color/cons.lua index 6bdebeb..e028516 100644 --- a/nvim/lua/color/cons.lua +++ b/nvim/lua/color/cons.lua @@ -4,16 +4,17 @@ local package = {} package.colors = { none = "none", black = "#000000", - white = "#FFFFFF", + white = "#ffffff", gray = "#777777", lgray = "#BBBBBB", - red = "#FF0000", + red = "#ff0000", - green = "#00FF00", + lgreen = "#44ff44", + green = "#00ff00", dgreen = "#00bb00", - blue = "#0000FF", + blue = "#0000ff", lblue = "#0089ff", purple = "#cc33ff", diff --git a/nvim/lua/maps.lua b/nvim/lua/maps.lua index a6f5935..68441c3 100644 --- a/nvim/lua/maps.lua +++ b/nvim/lua/maps.lua @@ -7,7 +7,6 @@ local map = vim.api.nvim_set_keymap local opts = {silent = true} map('n', '\\rconf', ':source $HOME/lib/nvim/init.lua\n', opts) map('n', '\\econf', ':e $HOME/lib/nvim/init.lua\n', opts) - map('n', '\\rmap', ':source $HOME/lib/nvim/lua/maps.lua\n', opts) map('n', '\\emap', ':e $HOME/lib/nvim/lua/maps.lua\n', opts) -- Moving around.