summaryrefslogtreecommitdiffstats
path: root/home-configuration/config/nvim/lua/config.lua
diff options
context:
space:
mode:
authorcoast <coasteen@proton.me>2026-10-15 07:23:19 +0330
committercoast <coasteen@proton.me>2026-10-15 07:23:19 +0330
commit0daf9e57d1cfca6462db25f27eb70b530d417baf (patch)
treea4a9d95470200e24ef859aabb09304e981098509 /home-configuration/config/nvim/lua/config.lua
parent4c20a256c370a65ecd34100a540ad9760e67f51d (diff)
downloadnix-master.tar.gz
nix-master.tar.bz2
nix-master.tar.xz
nix-master.tar.zst
nvim extrasHEADmaster
Diffstat (limited to 'home-configuration/config/nvim/lua/config.lua')
-rwxr-xr-xhome-configuration/config/nvim/lua/config.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/home-configuration/config/nvim/lua/config.lua b/home-configuration/config/nvim/lua/config.lua
index 2100a6c..b405d33 100755
--- a/home-configuration/config/nvim/lua/config.lua
+++ b/home-configuration/config/nvim/lua/config.lua
@@ -32,7 +32,12 @@ vim.g.netrw_liststyle = 3
vim.cmd("let g:netrw_banner = 0")
-opt.termguicolors = true
+--toggle colorizer:
+vim.cmd("ColorizerToggle")
+
+--to ensure compat
+--this option was moved to the top of $MYVIMRC (init.lua):
+--opt.termguicolors = true
opt.spell = false
opt.spelllang = { "en_us" }
@@ -102,4 +107,4 @@ map("n", "<", "<gv", opts)
map("n", ">", ">gv", opts)
map("i", "<C-c>", "<ESC>")
map("n", "<C-c>", ":nohl<CR>", { desc = "Clear search hl", silent = true })
-map("n", "x", "_x", opts)
+--map("n", "x", "_x", opts)