HiPhish
a74553b331
Add option to dynamically disable for a buffer
...
Based on a GitHub discussion[1], this option lets users specify a
predicate to dynamically enable or disable rainbow delimiters for a
buffer.
[1] https://github.com/HiPhish/rainbow-delimiters.nvim/discussions/130
2024-08-07 23:23:11 +02:00
HiPhish
adfb780b35
Implement functions for togging rainbow per buffer
2023-08-24 22:27:55 +02:00
HiPhish
a9f2bb9777
Abort if the strategy is v:NIL as well
...
Currently the attachment only aborts if the strategy returned by the
thunk is a Lua nil. If the thunk is defined in Vim script we want to be
able to handle v:NIL as well.
2023-07-16 14:22:54 +02:00
HiPhish
61a00e4f39
Fix strategy being able to be nil
2023-07-14 22:33:52 +02:00
HiPhish
3c6d618b1a
Implement white- and blacklists for languages
2023-07-12 19:12:59 +02:00
HiPhish
bc1e12be89
Fix config default values
...
The configuration now properly falls back on the default value even if
the user has not defined it.
2023-07-04 23:25:15 +02:00
HiPhish
5c3883bca8
Fix highlight group definition
2023-07-02 18:11:13 +02:00
HiPhish
bd9e9d7dee
Declare explicit arguments to attach/detach
2023-07-01 19:59:36 +02:00
HiPhish
99cf28bddd
Fix nil-exception
2023-07-01 13:46:26 +02:00
HiPhish
e7603bf855
Rename files to 'rainbow-delimiters'
2023-06-29 23:37:02 +02:00
HiPhish
5491640c1e
Merge internal definitions into plugin script
2023-06-29 23:29:59 +02:00
HiPhish
7c1655cb20
Clean up function references
2023-06-28 23:47:10 +02:00
HiPhish
92076b9986
Transition to standalone plugin
2023-06-25 13:34:03 +02:00
HiPhish
960590928b
Add source guard to Vim script file
2023-04-06 14:51:03 +02:00
HiPhish
293e12e90f
Move highlight group definitions to autoload
...
This avoids polluting the global namespace with another function.
2023-03-03 19:04:49 +01:00
baleksa
dfc978970b
Set highlights via autocmd on ColorScheme event
...
Call the function which sets highlight groups via `autocmd` on `ColorScheme` event so they won't be cleared when most of modern colorschemes do `highlight clear` before they set their own highlights.
2023-03-03 13:29:14 +01:00
HiPhish
bda3f51b89
Implement public API module
2023-01-14 13:26:17 +01:00
HiPhish
0e8d1d6fd4
Rename Lua module to ts-rainbow
...
Avoid potential name collision with some other rainbow plugin. There is
no need to rename the nvim-treesitter module because the `ts` part is
implicit.
2023-01-05 00:02:12 +01:00
HiPhish
1a33764bc3
Use highlight groups for colour settings
2023-01-04 00:57:09 +01:00
HiPhish
4da70e50a8
Change the code style
...
Use Vim modelines rather than stylua; modelines work for everyone and
don't require an extra plugin.
2023-01-02 23:38:05 +01:00
HiPhish
d8641a4f34
Add license header to Vim script file
2023-01-02 23:12:55 +01:00
Chinmay Dalal
65bc26f67c
fix #43 : Add autocmd to redefine colors on colorscheme change.
2021-07-13 09:42:17 +05:30
Chinmay Dalal
997694bc45
rename forgotten thing
2020-11-03 18:23:51 +05:30
Chinmay Dalal
6b0a7a128a
Initial rename
2020-11-02 18:32:01 +05:30
Chinmay Dalal
5a77c0ee16
Initial commit
2020-11-02 17:44:30 +05:30