From 855f4e4f0f22b35641f13614e46b9ab7f6818188 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 15 Mar 2021 23:26:50 +0100 Subject: Migration to lua --- .config/nvim/lua/quickscope/init.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .config/nvim/lua/quickscope/init.lua (limited to '.config/nvim/lua/quickscope') diff --git a/.config/nvim/lua/quickscope/init.lua b/.config/nvim/lua/quickscope/init.lua new file mode 100644 index 0000000..4c70669 --- /dev/null +++ b/.config/nvim/lua/quickscope/init.lua @@ -0,0 +1,7 @@ +-- Trigger a highlight in the appropriate direction when pressing these keys: +-- vim.cmd('let g:qs_highlight_on_keys = [\'f\', \'F\', \'t\', \'T\']') +vim.g.qs_highlight_on_keys = {'f', 'F', 't', 'T'} + +vim.api.nvim_exec('highlight QuickScopePrimary guifg=\'#00C7DF\' gui=underline ctermfg=155 cterm=underline', false) +vim.cmd('highlight QuickScopeSecondary guifg=\'#eF5F70\' gui=underline ctermfg=81 cterm=underline') +vim.g.qs_max_chars=150 -- cgit v1.2.3-70-g09d2