Comments (3)
#6 isn't this what you want?
from nougat.nvim.
Yes absolutely.
For mode
:
local color = require("nougat.color").get()
local mode = nut.mode.create({
config = {
highlight = {
insert = { bg = color.blue, fg = color.bg },
-- ...
},
},
})
Ref:
nougat.nvim/lua/nougat/nut/mode.lua
Lines 7 to 16 in 6c7f542
nougat.nvim/lua/nougat/nut/mode.lua
Lines 67 to 143 in 6c7f542
For diagnostic_count
:
local diagnostic_count = nut.buf.diagnostic_count.create({
hidden = nut.buf.diagnostic_count.hidden.if_zero(),
hl = { bg = color.bg3 },
prefix = " ",
suffix = " ",
config = {
error = { prefix = " ", fg = color.red },
warn = { prefix = " ", fg = color.yellow },
info = { prefix = " ", fg = color.blue },
hint = { prefix = " ", fg = color.green },
},
})
Ref:
nougat.nvim/lua/nougat/nut/buf/diagnostic_count.lua
Lines 10 to 32 in 6c7f542
from nougat.nvim.
Here's an example for git.status
:
nougat.nvim/examples/bubbly.lua
Lines 148 to 176 in 6c7f542
from nougat.nvim.
Related Issues (14)
- Support breakpoints for responsive content
- Item Priority
- Stack trace for type mismatch HOT 4
- Use colorscheme patterns HOT 2
- Nut: LSP Server Names HOT 9
- [Wishlist] Nut for Nougat HOT 2
- Statusbar doesn't show on session restore. HOT 7
- :hammer_and_wrench: Show clock HOT 2
- :hammer_and_wrench: How to configure `lsp.servers` content? HOT 2
- quest: get the number of lines of a file? HOT 1
- Add filetype icon for filetype component HOT 7
- Support vim-gitbranch/vim-gitgutter as git branch/status source HOT 5
- Color API Design: the `red` `yellow` API name seems confusing HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nougat.nvim.