Instead of using link you can get even more specific about those end-of-line spaces: for instance you could specify that they show up as just slightly lighter/darker than the normal background, using your own highlight command, specifying custom ctermfg, ctermbg, guifg, guibg settings.Īs above, you could autocmd this to apply your specific settings.įor more information about link highlight groups, type: :help group-name and you'll see a list of groups that can be linked that themselves should helpfully be displayed using their current highlight rules. Try linking to other highlight groups for something that may appeal to you more. Now those end-of-line spaces will show up as underlined. One quick way to do this would be something like: :hi link mkdLineBreak Underlined You can make this less visually striking by changing that highlight rule. The plasticboy plugin uses TODO highlighting for this rule, which is a bit too much as it's designed to, by default, be really garish - yellow background - so that it stands out. Note that this specific highlight exists because Markdown treats lines ending with 2 or more space characters specially by inserting a, so it is useful. You could autocmd that for the necessary file extensions so that you needn't do it every time you load a markdown file. This should work to disable the end-of-line space highlighting when using the plasticboy mkd plugin: :syn clear mkdLineBreak Use Gizmo to render PlantUML diagrams within Word.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |