lua-mode
lua-mode copied to clipboard
Emacs major mode for editing Lua
Does anyone encountered that when opening a `lua` file; the comment doesn't get highlighted. 😕 I have tried to reinstall the package but nothing changes. 😕 😕 😕 😕 😕
* Buttercup since 1.34 starts to support oclosure, so eval will be used in dynamic scope by default. * This patch ensures that eval is using lexical scope to retain...
neovim lua mode prefers ```lua node_om:connect("object-added", function (node_om, node) -- If the node is added, print update. print("update") node:connect("params-changed", function (node, paramId) -- If the node's parameters changed, print update....
``` Hi! Help! Sometimes when I try to indent some text in comments with `M-q' lua-mode says "Indenting region...", and it takes a long time (in big files) and reindents...
Calling a function that takes a table as an argument, then putting the table contents on a new line indents to 26 spaces which is ridiculous. ``` minetest.register_node("mod:node", { description...
By default `lua-mode` doesn't seem to highlight keys of a table:  There is nothing wrong with that, but I wonder if there is an option to highlight the keys...
With version 20220801.503, I get code formatted like the following (I use two spaces for indentation) ```lua if umatch(uchar(c1.char), "[%l%u_]") and umatch(uchar(c2.char), "[%l%u_]") and umatch(uchar(c3.char), "[_-]") and umatch(uchar(c4.char), "[%l%u]") and...
First of all, thanks for the great work! Consider this example: ``` foo(bar, { key = value }) ``` The last line is aligned according to the latter `)`, which...
Hello Earthlings! I am trying to have my Lua code formatted like this: ``` lua local subscription = FeedSubscription:new({ id = subscription_results.subscription_id }) ``` But instead, I get this: ```...
This PR adds `lua-send-string-max-size` variable that limits the size of the data that's sent to subprocess in one go. It also introduces `lua-send-region-chunked` function that sends the code in chunks...