salmanebah / opencl-mode Goto Github PK
View Code? Open in Web Editor NEWQuick and dirty syntax coloring for opencl kernels
License: GNU General Public License v3.0
Quick and dirty syntax coloring for opencl kernels
License: GNU General Public License v3.0
I've got a warning to inform an error:
Warning (initialization): An error occurred while loading `/home/user/.emacs.d/init.el':
Symbol's function definition is void: defvar-local
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.
My Emacs version is 23.4.1, and my setting is
(add-to-list 'load-path "home/user/.emacs.d/list/opencl-mode-emacs/")
(require 'opencl-mode)
(add-to-list 'auto-mode-alist '("\\.cl\\'" . opencl-mode))
If I commented out the (require 'opencl-mode)
, the error disappearred while there was no syntax highlighting at all.
Any reason not to have this package on MELPA?
After upgrading to emacs 27.1 there's something wrong with the opencl-mode highlighting: I seem to only get highlighted comments.
It works in emacs 26.3 with the same opencl-mode and .emacs configuration.
opencl-mode version: 20190615.1957
Initialization:
(use-package opencl-mode
:mode "\\.cl\\'")
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.