Giter Site home page Giter Site logo

Comments (3)

chris414862 avatar chris414862 commented on August 25, 2024 1

I fixed this line in the markdown section of the colors/one.vim file from this:
call <sid>X('markdownItalic', s:hue_6, '', 'bold')
to
call <sid>X('markdownItalic', s:hue_6, '', s:italic)
You should also, of course, enable italics for vim-one like it says in the README (I had already done this though)
UPDATE:
Additionally I found that bold + italics didn't render as well. For example, ***BoldAndItalic*** did not render as ***BoldAndItalic*** just ***BoldAndItalic***. A simple fix to this was to add the line

  call <sid>X('markdownBoldItalic',           s:hue_6,   '',  'bold,italic')

below the line stated above. This breaks the standard of enabling/disabling italics though so if that is important to you, you can add:

let s:italic = ''
let s:bolditalic = ''              ### <---- Add this line
if g:one_allow_italics == 1
  let s:bolditalic = 'bold,italic' ### <---- Add this line
  let s:italic = 'italic'
endif

in the corresponding spot in the one.vim file (around line 30 in my version) and then add:

  call <sid>X('markdownBoldItalic',           s:hue_6,   '',  s:bolditalic)

instead of the one with the hard coding.

from vim-one.

BlueDrink9 avatar BlueDrink9 commented on August 25, 2024

@chris414862 would you consider making this a pull request so @rakr can incorporate these changes easily?

from vim-one.

chris414862 avatar chris414862 commented on August 25, 2024

@chris414862 would you consider making this a pull request so @rakr can incorporate these changes easily?

Sure! It should be up now.

from vim-one.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.