aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/highlighting.lua
diff options
context:
space:
mode:
authorAlec Goncharow <alec@goncharow.dev>2024-01-09 14:28:13 -0500
committerAlec Goncharow <alec@goncharow.dev>2024-01-09 14:28:13 -0500
commit36b5ac02b91ffc4d6901c5031b0f73b57e334f70 (patch)
treec6488da4e48d376da28579ce40a57321cc15cadb /.config/nvim/lua/highlighting.lua
parent67d40a9139547bb61fe3aacb54491b6e40a3cab8 (diff)
yak shaving
much to do about nothing, outlines from lspsage, some matching, some tpope plugins, flailing sql things might be too bloated but let's try it
Diffstat (limited to '.config/nvim/lua/highlighting.lua')
-rw-r--r--.config/nvim/lua/highlighting.lua88
1 files changed, 44 insertions, 44 deletions
diff --git a/.config/nvim/lua/highlighting.lua b/.config/nvim/lua/highlighting.lua
index 9c4332d..1c4a71b 100644
--- a/.config/nvim/lua/highlighting.lua
+++ b/.config/nvim/lua/highlighting.lua
@@ -1,47 +1,47 @@
-- default configuration
require('illuminate').configure({
- -- providers: provider used to get references in the buffer, ordered by priority
- providers = {
- 'lsp',
- 'treesitter',
- 'regex',
- },
- -- delay: delay in milliseconds
- delay = 100,
- -- filetype_overrides: filetype specific overrides.
- -- The keys are strings to represent the filetype while the values are tables that
- -- supports the same keys passed to .configure except for filetypes_denylist and filetypes_allowlist
- filetype_overrides = {},
- -- filetypes_denylist: filetypes to not illuminate, this overrides filetypes_allowlist
- filetypes_denylist = {
- 'dirvish',
- 'fugitive',
- },
- -- filetypes_allowlist: filetypes to illuminate, this is overriden by filetypes_denylist
- filetypes_allowlist = {},
- -- modes_denylist: modes to not illuminate, this overrides modes_allowlist
- -- See `:help mode()` for possible values
- modes_denylist = {},
- -- modes_allowlist: modes to illuminate, this is overriden by modes_denylist
- -- See `:help mode()` for possible values
- modes_allowlist = {},
- -- providers_regex_syntax_denylist: syntax to not illuminate, this overrides providers_regex_syntax_allowlist
- -- Only applies to the 'regex' provider
- -- Use :echom synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')
- providers_regex_syntax_denylist = {},
- -- providers_regex_syntax_allowlist: syntax to illuminate, this is overriden by providers_regex_syntax_denylist
- -- Only applies to the 'regex' provider
- -- Use :echom synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')
- providers_regex_syntax_allowlist = {},
- -- under_cursor: whether or not to illuminate under the cursor
- under_cursor = true,
- -- large_file_cutoff: number of lines at which to use large_file_config
- -- The `under_cursor` option is disabled when this cutoff is hit
- large_file_cutoff = nil,
- -- large_file_config: config to use for large files (based on large_file_cutoff).
- -- Supports the same keys passed to .configure
- -- If nil, vim-illuminate will be disabled for large files.
- large_file_overrides = nil,
- -- min_count_to_highlight: minimum number of matches required to perform highlighting
- min_count_to_highlight = 1,
+ -- providers: provider used to get references in the buffer, ordered by priority
+ providers = {
+ 'lsp',
+ 'treesitter',
+ 'regex',
+ },
+ -- delay: delay in milliseconds
+ delay = 100,
+ -- filetype_overrides: filetype specific overrides.
+ -- The keys are strings to represent the filetype while the values are tables that
+ -- supports the same keys passed to .configure except for filetypes_denylist and filetypes_allowlist
+ filetype_overrides = {},
+ -- filetypes_denylist: filetypes to not illuminate, this overrides filetypes_allowlist
+ filetypes_denylist = {
+ 'dirvish',
+ 'fugitive',
+ },
+ -- filetypes_allowlist: filetypes to illuminate, this is overriden by filetypes_denylist
+ filetypes_allowlist = {},
+ -- modes_denylist: modes to not illuminate, this overrides modes_allowlist
+ -- See `:help mode()` for possible values
+ modes_denylist = {},
+ -- modes_allowlist: modes to illuminate, this is overriden by modes_denylist
+ -- See `:help mode()` for possible values
+ modes_allowlist = {},
+ -- providers_regex_syntax_denylist: syntax to not illuminate, this overrides providers_regex_syntax_allowlist
+ -- Only applies to the 'regex' provider
+ -- Use :echom synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')
+ providers_regex_syntax_denylist = {},
+ -- providers_regex_syntax_allowlist: syntax to illuminate, this is overriden by providers_regex_syntax_denylist
+ -- Only applies to the 'regex' provider
+ -- Use :echom synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')
+ providers_regex_syntax_allowlist = {},
+ -- under_cursor: whether or not to illuminate under the cursor
+ under_cursor = true,
+ -- large_file_cutoff: number of lines at which to use large_file_config
+ -- The `under_cursor` option is disabled when this cutoff is hit
+ large_file_cutoff = nil,
+ -- large_file_config: config to use for large files (based on large_file_cutoff).
+ -- Supports the same keys passed to .configure
+ -- If nil, vim-illuminate will be disabled for large files.
+ large_file_overrides = nil,
+ -- min_count_to_highlight: minimum number of matches required to perform highlighting
+ min_count_to_highlight = 1,
})