| Commit message (Collapse) | Author | Age |
|
|
|
| |
disabled by default
|
|
|
|
| |
like cmp comletion menu
|
|
|
|
|
|
|
|
| |
See https://github.com/NvChad/nvim-colorizer.lua/issues/48
css is true, names is true: Show names
css is true, names is unset: Show names
css is true, names is false: Don't show names
|
| |
|
|
|
|
| |
regen docs for previous commit
|
|
|
|
| |
why are you using the older version ?
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Import support
import using use and import keyword
multiple imports in single line
multiple imports in multiple lines ( using commas )
recursive imports
watch imports for changes and automatically rehighlight buffer
buffer variables
recursive variables support
multiple variables in single line
parse imported files only when they are changed
Loosely based on https://github.com/norcalli/nvim-colorizer.lua/pull/22/files
|
| |
|
| |
|
| |
|
|
|
|
| |
Fix highlight not refreshing for last line when tailwind mode is activated
|
|
|
|
| |
For first start, wait 100 ms before trying to get some info from the lsp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tailwind colors
Three methods
normal: Use the hardcoded colors
lsp: Use lsp to fetch colors
both: Use the hardcoded colors and use lsp too if available
although this is hardcoding, but working with what we got, has all the
colors tailwind provides, atleast the prebuilt ones
for new defined colors, have to enable the lsp method
Generated using https://github.com/tailwindlabs/tailwindcss/raw/master/src/public/colors.js
and https://github.com/tailwindlabs/tailwindcss/raw/master/src/corePlugins.js
use a different namespace than default for tailwind lsp method
only try to use lsp method if attached
Misc changes
export the user_default_settings to doc
clear name space after the lines are processed for a smooth transition
cleanup some code
|
| |
|
| |
|
|
|
|
|
|
| |
disabled for filetype
it should remain disabled if any
|
|
|
|
|
|
|
|
|
|
|
|
| |
add a all_buffers option - colorizer will activate on all buffers, empty or not, still respect filetypes option
handle errors when detach is called multiple times from the same buffer
use bufdelete and bufdelete to remove the autocmds
use a more efficient compile parse_fn function
use custom ldoc template to generate vim help
|
|
|
|
| |
highly inspired/copied from https://github.com/brenoprata10/nvim-highlight-colors
|
| |
|
| |
|
|
|
|
| |
more like a type fix
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
ref: https://github.com/norcalli/nvim-colorizer.lua/pull/58
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
| |
- Refactor and clean up old code.
- Fix the trie printing (it's perfect now :o)
- Add the ability to search from a starting point. This can help
avoid allocations.
- Avoid an allocation in longest_prefix.
- Refactor and allow configuring of color_name_parser setup
|
|
|
|
|
|
|
|
|
|
|
| |
- Disable highlighting for HEX codes and NAME codes when
preceded by alphanumeric codes.
- Hand written parser with 1 pass parsing.
- Update Trie to be more ergonomic.
- Add test file with expected outputs for edge cases.
- Cache matcher creation and refactor.
- Refactor
Faster than ever baby
|
|
|
|
|
|
| |
- Add hsl, hsla, rgba, RRGGBBAA
- Redo the parser for rgb,rgba,hsl,hsla codes.
- Fix the trie implementation.
- Bugfix and refactor alpha/error handling
|
|
|
| |
Fixes GH-5
|
| |
|
|
|
|
|
|
|
|
| |
- Add command documentation and new commands.
- Add new settings which have a better naming scheme.
- Fix reloading settings and add a command to detach highlighter.
- Fix #RGB pattern like for #define where it will highlight the #def
part.
|
| |
|
| |
|
|
|
|
|
|
| |
Add ReloadBufferColorizer
Add nvim.lua
Fix highlight_buffer names for highlight_cache
|
|
|
|
|
|
|
| |
- Add support for `rgb(...)` functions behind an option gate.
- Highlight #RGB codes.
- Add options, like `rgb_fn` and `no_names`
- Add luadoc.
|
|
|