summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/_quickscope
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-16 21:54:42 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-16 21:54:42 +0100
commit2b6ae8473e1b0fb8cc0bd16aa8c485a77ee5e847 (patch)
tree3e9e499480f1694f25a0835877e3ba5e63e403d4 /.config/nvim/lua/_quickscope
parentc0284168111a9b74761cf2094bdc16fec9006f7b (diff)
renaming, treesitter buggy
Diffstat (limited to '.config/nvim/lua/_quickscope')
-rw-r--r--.config/nvim/lua/_quickscope/init.lua7
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