Scientific Computing
Thursday, May 31, 2012
To make Emacs recognize cuda (.cu) files in c++ mode
Much simpler to just put following in your .emacs file: (add-to-list 'auto-mode-alist '("\\.cu$" . c++-mode)) Or alternatively, on a per .cu file basis, you could say just put following in the first line of your .cu files: // -*- c++ -*-
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)