Pronounced like the food
mrshmllow / document-color.nvim Goto Github PK
View Code? Open in Web Editor NEW๐ LSP-based colorizer for neovim
License: MIT License
๐ LSP-based colorizer for neovim
License: MIT License
Pronounced like the food
Hi,
I just saw that dynamicRegistration
was added to the recommended setup.
capabilities.textDocument.colorProvider = {
dynamicRegistration = true
}
But couldn't find why this is needed (not sure if it's needed though). Since I'm already using the plunging without this snippet.
Thanks.
Title says it all.
Expected: Background of tailwind color classes stays colorized in the appropriate color.
Actual: Background returns to default background color after a couple ms.
Hi, Thank you for the work
lualine will blink, when documen-color.nvim work with lualine.nvimใ nvim-session-manager
but lualine.nvim + nvim-session-manager is fine
minimal config
...
use { 'mrshmllow/document-color.nvim',config = function() require("document-color").setup { mode = "background", } end, event = { 'BufReadPre' } }
use { 'Shatur/neovim-session-manager', config = function()
require('session_manager').setup({
autoload_mode = require('session_manager.config').AutoloadMode.CurrentDir
})
end }
use { 'nvim-lualine/lualine.nvim', requires = { 'kyazdani42/nvim-web-devicons' }, config = function()
require('lualine').setupt({})
end }
...
Using: sumneko_lua
Error executing vim.schedule lua callback: .../packer/start/document-color.nvim/lua/document-color.lua:59: Invalid buffer id: 1
stack traceback:
[C]: in function 'nvim_buf_clear_namespace'
.../packer/start/document-color.nvim/lua/document-color.lua:59: in function 'handler'
/usr/share/nvim/runtime/lua/vim/lsp.lua:1025: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
Error executing vim.schedule lua callback: .../packer/start/document-color.nvim/lua/document-color.lua:59: Invalid buffer id: 17
stack traceback:
[C]: in function 'nvim_buf_clear_namespace'
.../packer/start/document-color.nvim/lua/document-color.lua:59: in function 'handler'
/usr/share/nvim/runtime/lua/vim/lsp.lua:1025: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.