[llvm-commits] [llvm] r168645 - in /llvm/trunk/lib: AsmParser/LLLexer.cpp AsmParser/LLParser.cpp AsmParser/LLParser.h AsmParser/LLToken.h VMCore/AsmWriter.cpp

Michael Ilseman milseman at apple.com
Fri Nov 30 14:58:23 PST 2012


The emacs mode currently doesn't try to even recognize nsw/nuw, and doesn't even have highlighting for floating point ops. It's probably not been touched in a long time. I can certainly hack on it some, does anyone know who the code owner is?

The vim mode, however, seems a bit more up-to-date. I attached a patch for what I guess would be desired, but I'm not a vim user so I haven't tested it out.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vim-mode.patch
Type: application/octet-stream
Size: 662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121130/e0292667/attachment.obj>
-------------- next part --------------


I'm unfamiliar with Pygments, but I filed: https://bitbucket.org/birkenfeld/pygments-main/issue/823/syntax-highlighting-for-fast-math-keywords

On Nov 26, 2012, at 10:09 PM, Sean Silva <silvas at purdue.edu> wrote:

> You can CC me for the vim one.
> 
> -- Sean Silva
> 
> On Mon, Nov 26, 2012 at 10:13 PM, Michael Ilseman <milseman at apple.com> wrote:
>> I wasn't aware of Pygments. I'll send something out, add emacs support, and open a PR for vim support.
>> 
>> On Nov 26, 2012, at 6:01 PM, Sean Silva <silvas at purdue.edu> wrote:
>> 
>>> If you wouldn't mind, please send a pull-request to Pygments updating
>>> their keyword list so that these can be highlighted in code examples
>>> in our documentation. The exact code that needs to be changed is
>>> <https://bitbucket.org/birkenfeld/pygments-main/src/24c16194941a7464a0cbe27896cc103b9bbab6a9/pygments/lexers/asm.py?at=default#cl-232>.
>>> If you aren't willing to do this, please file a PR and assign it to
>>> me.
>>> 
>>> Thanks,
>>> 
>>> -- Sean Silva
>> 



More information about the llvm-commits mailing list