aboutsummaryrefslogtreecommitdiff
path: root/lua
Commit message (Collapse)AuthorAge
* tailwind: Do not use LspAttach method if vim version <= 7Akianonymus2022-09-08
| | | | https://github.com/NvChad/nvim-colorizer.lua/pull/15#issuecomment-1239692707
* docs: Use name in Last Updated | Cleanup | Improve insert mode perfAkianonymus2022-09-08
| | | | Fix highlight not refreshing for last line when tailwind mode is activated
* tailwind: Use true for normal modeAkianonymus2022-09-07
| | | | For first start, wait 100 ms before trying to get some info from the lsp
* buffer_utils: Validate rgb_hex too | trie: Add exact param to longest_prefixAkianonymus2022-09-07
|
* utils: Improve percent_or_hex functionAkianonymus2022-09-06
|
* Fix https://github.com/NvChad/nvim-colorizer.lua/issues/12 | Add support for ↵Akianonymus2022-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* colorizer: Make sure it works without giving any configAkianonymus2022-09-03
|
* Just remove the old handlingAkianonymus2022-09-03
|
* colorizer: Fix an edgecase when colorizer is enabled for buftype but ↵Akianonymus2022-09-03
| | | | | | disabled for filetype it should remain disabled if any
* fragment | Implement better autocmd management | refactorAkianonymus2022-09-03
| | | | | | | | | | | | 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
* feat: Incremental highlight loadingAkianonymus2022-08-28
| | | | highly inspired/copied from https://github.com/brenoprata10/nvim-highlight-colors
* fix some lsp warningsAkianonymus2022-08-27
|
* Use string.format to convert to hexAkianonymus2022-08-27
|
* fix: error when invalid hsl/rgb valuesAkianonymus2022-08-27
| | | | more like a type fix
* Use native api functions | Convert colorizer.vim to colorizer.luaAkianonymus2022-08-13
|
* Add highlighting for space-seperated css function callsLasse Haffke2022-08-08
|
* fix: Clear the highlight cache on 'ColorScheme' event.Sindre T. Strøm2022-08-07
|
* format filessiduck2022-07-22
|
* Format colorizer with updated stylua configBrian Chen2022-02-25
|
* Update HIGHLIGHT_MODE_NAMES with virtualtextBrian Chen2022-02-25
|
* Add support for 0xAARRGGBBBrian Chen2022-02-25
| | | | ref: https://github.com/norcalli/nvim-colorizer.lua/pull/58
* Allow lower case color namesAkianonymus2022-02-07
|
* using virtualtext as one option for highlightDingcheng Yue2022-02-07
|
* Fix parsing for RRGGBBAA hex codesKye Shi2022-02-07
|
* Merge branch 'master' of github.com:norcalli/nvim-colorizer.luaAshkan Kiani2019-11-07
|\
| * Add function to check if attached to a bufferJames Reed2019-11-07
| |
* | Disable strict index checking.Ashkan Kiani2019-11-07
|/
* Move dependencies to their own directory. (#21)Ashkan Kiani2019-10-22
|
* Refactor (#19)Ashkan Kiani2019-10-19
| | | | | | | | - 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
* Update trieAshkan Kiani2019-10-19
| | | | | | | | - 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.
* Improve algorithm performance and correctness. (#15)Ashkan Kiani2019-10-18
| | | | | | | | | | | - 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
* Update color functions (#13)Ashkan Kiani2019-10-18
| | | | | | - Add hsl, hsla, rgba, RRGGBBAA - Redo the parser for rgb,rgba,hsl,hsla codes. - Fix the trie implementation. - Bugfix and refactor alpha/error handling
* Allow excluding files from highlight with '*' (#11)Ashkan Kiani2019-10-18
| | | Fixes GH-5
* Update docs and luadocsAshkan Kiani2019-10-18
|
* Update with fully qualified settings and commands.Ashkan Kiani2019-10-18
| | | | | | | | - 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.
* Refactor and cleanup.Ashkan Kiani2019-10-17
|
* Critical bugfix!Ashkan Kiani2019-10-17
|
* Add reload and bugfix highlight name.Ashkan Kiani2019-10-17
| | | | | | Add ReloadBufferColorizer Add nvim.lua Fix highlight_buffer names for highlight_cache
* Add readme, docs, rgb(), #RGB, and optionsAshkan Kiani2019-10-17
| | | | | | | - Add support for `rgb(...)` functions behind an option gate. - Highlight #RGB codes. - Add options, like `rgb_fn` and `no_names` - Add luadoc.
* Initial commit.Ashkan Kiani2019-10-17