Tags: xolox/vim-notes
Tags
Merge pull request #104: Make concealing configurable I made a few changes while merging this pull request: 1. I changed the logic inside syntax/notes.vim to use the function xolox#misc#option#get() with a default option value of true (1). In my mind this makes a lot more sense than checking for the existence of variables without checking their actual values. 2. I renamed notes_conceal_italics to notes_conceal_italic to be consistent with the other options (IMHO). 3. I rewrote the documentation additions because A) doc/notes.txt is generated from README.md so the changes by @naddeoa would have gone lost and B) because there were typos in the additions (s/coneal/conceal/g). 4. The documentation for notes_conceal_code was incorrect because the code changes by @naddeoa only apply to the markers for inline code fragments, not the markers for multi line code blocks. I kept the implementation as is and updated the documentation to match the implementation. See also pull request 104 on GitHub: #104
Easy customization of new note template (also from command line) This was added to enable simple integration with tools like sup (https://github.com/ceocoder/sup)
Merge pull request #103: Open HTML in split & Mediawiki converter In this merge commit I'm making a couple of minor changes: - The `---` sequence is now used as a horizontal divider in the Mediawiki syntax converter. - The changes to xolox#notes#html#view() created a temporary file even when the HTML was shown in a Vim split window, now the temporary file is only created when it needs to be passed to a web browser. - I changed some wrong indentation, removed some unused code (the counter variable) and renamed some private variables (s/hilight/highlight/g) and added word boundaries to the TODO/DONE/XXX matching in the file mediawiki.vim. - No trailing empty lines are added when a note is converted to Mediawiki syntax (there were in the pull request, but without context or explanation so I'd rather keep the Markdown, HTML and Mediawiki converters consistent).
PreviousNext