diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-03-15 23:26:50 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-03-15 23:26:50 +0100 |
commit | 855f4e4f0f22b35641f13614e46b9ab7f6818188 (patch) | |
tree | 9a776e07429c16e1df68f4b04c125c46185eed16 /.config/nvim/lua/quickscope/init.lua | |
parent | 8577c3b7cba714551d3537f3337ee2490bd20106 (diff) |
Migration to lua
Diffstat (limited to '.config/nvim/lua/quickscope/init.lua')
-rw-r--r-- | .config/nvim/lua/quickscope/init.lua | 7 |
1 files changed, 7 insertions, 0 deletions
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 |