Comments (8)
Hey,
Unless it matches the Atom theme I don't think we would add it. Might be something to keep in your own fork.
from onedark.vim.
Hey @garand now you can easily change some styles link
from onedark.vim.
I added this to the onedark.vim
file and it is working properly. Maybe I'll submit a PR later!
from onedark.vim.
@garand you can add function s:h inside your VIMRC, and ibid write your own change(call s:h("htmlArg", ...)) or make fork.
from onedark.vim.
@garand Thanks for the suggestion, but I agree with @simonsmith and @webdesus -- this would not match the Atom theme and thus I don't think it should be changed.
from onedark.vim.
@joshdick Okay, sounds good. 👍
@webdesus I'm not foo familiar with what you're saying, do you have an example I could look at?
from onedark.vim.
@garand add this function code in VIMRC
function! s:h(group, style)
if g:onedark_terminal_italics == 0
if has_key(a:style, "cterm") && a:style["cterm"] == "italic"
unlet a:style.cterm
endif
if has_key(a:style, "gui") && a:style["gui"] == "italic"
unlet a:style.gui
endif
endif
if g:onedark_termcolors == 16
let l:ctermfg = (has_key(a:style, "fg") ? a:style.fg.cterm16 : "NONE")
let l:ctermbg = (has_key(a:style, "bg") ? a:style.bg.cterm16 : "NONE")
else
let l:ctermfg = (has_key(a:style, "fg") ? a:style.fg.cterm : "NONE")
let l:ctermbg = (has_key(a:style, "bg") ? a:style.bg.cterm : "NONE")
endif
execute "highlight" a:group
\ "guifg=" (has_key(a:style, "fg") ? a:style.fg.gui : "NONE")
\ "guibg=" (has_key(a:style, "bg") ? a:style.bg.gui : "NONE")
\ "guisp=" (has_key(a:style, "sp") ? a:style.sp.gui : "NONE")
\ "gui=" (has_key(a:style, "gui") ? a:style.gui : "NONE")
\ "ctermfg=" . l:ctermfg
\ "ctermbg=" . l:ctermbg
\ "cterm=" (has_key(a:style, "cterm") ? a:style.cterm : "NONE")
endfunction
Then add what you want. For this problem you should add next code
let s:dark_yellow = { "gui": "#D19A66", "cterm": "173", "cterm16": "11" }
call s:h("htmlArg", {"fg": s:dark_yellow, "gui":"italic","cterm": "italic"})
from onedark.vim.
@webdesus Great! Thanks. 😄
from onedark.vim.
Related Issues (20)
- How do I change the selected line color? HOT 5
- `onedark#extend_highlight` doesn't extend `cterm` options HOT 2
- Syntaxt highilighting for keywords in comments
- Conflict with itchyny/vim-cursorword HOT 4
- Weird behavior with modified file name's color in airline by opening .vim files HOT 1
- Support for lualine
- Illegible diffs HOT 1
- Add symbol highlighting for Neovim LSP
- Add CocMenuSel HOT 1
- visualbell stops working when using onedark
- Background transparent HOT 3
- Warning sign from ALE has wrong color HOT 1
- Override colors in lua (neovim)
- feat: Switchable transparent background ?
- Leave my &t_Co alone.
- Abunch of errors HOT 1
- Add support for command mode for lightline.vim
- Troubles with Tmux+Vim after tmux redraw
- [Feature Request] Add better UI for `vim.lsp.buf.rename()` function.
- Bug: Scheme not working correctly after upgrading neovim 0.9.5 to 0.10.0 HOT 10
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 onedark.vim.