hello!
I am using a macbook pro and started using the emacs built-in editor
all works okay but for some reason the emacs can't tell that I'm using Lua for love..
Not sure how to install the plug-in ?
https://immerrr.github.io/lua-mode/
tried to see what package I have and did
M-x list-package--command
but it says no match?????
can someone guide me also
can http://www.brew.sh works??
if so how??
mac texteditor emacs
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: mac texteditor emacs
that mode should work for editing lua files, but not for running them; you will need to write your own shortcut to run the project or find a LÖVE mode for emacs.
Edit: viewtopic.php?f=4&t=10403 is probably what you need
Edit: viewtopic.php?f=4&t=10403 is probably what you need
Re: mac texteditor emacs
thanks for the answers
I like terminal idk why I 'M more confortable lol
wish emacs could highlight the lua syntax it will be easier
that page doesn't tell exactly what to do unless didnt read all (but i did)
anyone there using emacs and lua highlighted please can you help me !
I like terminal idk why I 'M more confortable lol
wish emacs could highlight the lua syntax it will be easier
that page doesn't tell exactly what to do unless didnt read all (but i did)
anyone there using emacs and lua highlighted please can you help me !
Re: mac texteditor emacs
If you don't want to use the package manager, then download lua-mode.el here:
https://github.com/immerrr/lua-mode/blo ... ua-mode.el
and add it to your emacs load path in your init file like this:
you'll also want to add this to your init file:
Good luck!
https://github.com/immerrr/lua-mode/blo ... ua-mode.el
and add it to your emacs load path in your init file like this:
Code: Select all
(add-to-list 'load-path "/path/to/directory/where/lua-mode-el/resides")
Code: Select all
(autoload 'lua-mode "lua-mode" "Lua editing mode." t)
(add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
(add-to-list 'interpreter-mode-alist '("lua" . lua-mode))
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 3 guests