summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/init.lua2
-rw-r--r--.config/nvim/lua/plugs-config/quickscope.lua (renamed from .config/nvim/plug-config/quickscope.vim)10
2 files changed, 6 insertions, 6 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index 7958aa1..a5a2109 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -27,7 +27,7 @@ require('plugs-config/treesitter')
require('plugs-config/whichkey')
require('plugs-config/nerd-commenter')
require('plugs-config/org')
-vim.cmd('source ' .. confdir .. '/nvim/plug-config/quickscope.vim')
+require('plugs-config/quickscope')
vim.cmd('source ' .. confdir .. '/nvim/plug-config/rainbow.vim')
vim.cmd('source ' .. confdir .. '/nvim/plug-config/startify.vim')
vim.cmd('source ' .. confdir .. '/nvim/plug-config/signify.vim')
diff --git a/.config/nvim/plug-config/quickscope.vim b/.config/nvim/lua/plugs-config/quickscope.lua
index 3c1eb0a..9fa10fe 100644
--- a/.config/nvim/plug-config/quickscope.vim
+++ b/.config/nvim/lua/plugs-config/quickscope.lua
@@ -1,7 +1,7 @@
-" Quickscope
-let g:qs_highlight_on_keys = ['f', 'F', 't', 'T']
-
+-- Quickscope
+vim.g.qs_highlight_on_keys = { 'f', 'F', 't', 'T' }
+vim.g.qs_max_chars=150
+vim.cmd [[
highlight QuickScopePrimary guifg='#00C7DF' gui=underline ctermfg=155 cterm=underline
highlight QuickScopeSecondary guifg='#afff5f' gui=underline ctermfg=81 cterm=underline
-
-let g:qs_max_chars=150
+]]