added word highlight
This commit is contained in:
parent
939b23c312
commit
f352344e9e
1 changed files with 23 additions and 2 deletions
25
config.lua
25
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 },
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue