From f352344e9e7ef2a0b7f0620381fe2f02f1cc10ab Mon Sep 17 00:00:00 2001 From: Ava Gaiety W Date: Sat, 23 Mar 2024 00:16:39 -0500 Subject: [PATCH] added word highlight --- config.lua | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/config.lua b/config.lua index 4bbe376..0304ac2 100644 --- a/config.lua +++ b/config.lua @@ -5,14 +5,21 @@ -- -- Generic Custom Settings -vim.opt.relativenumber = true -vim.opt.mouse = "" +local set = vim.opt +set.relativenumber = true +set.mouse = "" +set.cursorline = true +set.termguicolors = true +set.winblend = 0 +set.wildoptions = "pum" +set.pumblend = 0 lvim.transparent_window = true vim.g.codestats_api_key = 'SFMyNTY.WjJGcFpYUjUjI01qSXhPVFU9.fMtCrS4QvdQKCgS_pasnqpWGUyrk3At646kPkN7LIn8' -- Custom Plugins lvim.plugins = { { "catppuccin/nvim", name = "catppuccin", priority = 1000 }, + { "yamatsum/nvim-cursorline" }, { url = "https://gitlab.com/code-stats/code-stats-vim.git"} } @@ -79,3 +86,17 @@ dap.adapters.node2 = { command = 'node', args = {os.getenv('HOME') .. '/dev/microsoft/vscode-node-debug2/out/src/nodeDebug.js'}, } + +-- cursorline +require('nvim-cursorline').setup { + cursorline = { + enable = true, + timeout = 1000, + number = false, + }, + cursorword = { + enable = true, + min_length = 3, + hl = { underline = true }, + } +}