aboutsummaryrefslogtreecommitdiff
path: root/lua
Commit message (Collapse)AuthorAge
* fix: Improve individual opts behaviour | #48akianonymus2023-02-26
| | | | | | | | 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
* feat: Improve hsl parserakianonymus2023-02-25
| | | | | | | | | | follow https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl add support for deg, turn and all alpha values merge hsl and hsla into one parser less regex computation
* chore(buffer): add hl_mode to nvim_buf_set_extmark()Mushfiq Mahmud2022-10-29
|
* remove unwanted codeAli Shahid2022-10-29
|
* Generate missing docs for utils.luaAkianonymus2022-09-28
|
* Fix detach when setup is called multiple times | #25Akianonymus2022-09-28
| | | | regen docs for previous commit
* Fix: Error when - in hex color | #24Akianonymus2022-09-22
|
* tailwind: Fix error on lsp method | Fix #22Akianonymus2022-09-15
| | | | Co-authored-by: Laytan Laats <laytanlaats@hotmail.com>
* Bump required neovim version to 0.7Akianonymus2022-09-15
| | | | why are you using the older version ?
* sass: Fix multiple imports on a single lineAkianonymus2022-09-15
|
* Better structure and naming | Misc improvementsAkianonymus2022-09-15
|
* Seperate tailwind stuff | Fix for neovim 0.7Akianonymus2022-09-14
| | | | | | | Seperate the lines parsing logic in buffer_utils, upcoming multi threading parsing and processing Update docs
* buffer_utils: Perf improvementsAkianonymus2022-09-14
| | | | sike, you thought
* Seperate sass codeAkianonymus2022-09-14
|
* buffer_utils: A very vague commit messageAkianonymus2022-09-14
|
* [FEATURE] Add support for sass variablesAkianonymus2022-09-14
| | | | | | | | | | | | | | | | | | | | | | | | 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
* buffer_utils: Do not error when lsp info cannot be fetchedAkianonymus2022-09-14
|
* tailwind: Fix detach when attach is executed multiple timesAkianonymus2022-09-09
|
* Make sure to use existing options when attaching bufferAkianonymus2022-09-09
|
* Fix reload on au ColorScheme | Check if buffer is valid before attachingAkianonymus2022-09-09
|
* 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.