Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
Advice
1 vote
4 replies
123 views

I have been looking at frameworks for game development and I have found that pygame (a python game development libary) and love2d (a lua game development libary) seem the eisiest to learn. I also know ...
The python duck's user avatar
2 votes
0 answers
32 views

i have hints working for lua, but not for go. i've already tried a bunch of stuff like several go configs, though it seems like it is a server problem, because Settings: {} is what i get in ...
Bari's user avatar
  • 21
1 vote
0 answers
41 views

I found out the mini.ai html tag selection is very bad but treesitter was so good at it so I decided to change it to treesiter without loosing the good things in mini.ai so I did this config and so ...
user27392773's user avatar
-3 votes
0 answers
64 views

To be convenient when coding C/C++ programs, I decided to use Clangd for auto-complete plugin. I went to the official website of Lazy.nvim and read guides to install and use. I tried :Mason and :...
Leatuyr Bertyk's user avatar
1 vote
1 answer
295 views

I am a newbie Neovim user and I am configuring Neovim by Lazy in init.lua. However, I had a problem when installing Tree-sitter plugin by Lazy.nvim. In file init.lua, I use below command to install ...
Leatuyr Bertyk's user avatar
1 vote
0 answers
54 views

I am trying to run jdtls lsp on the latest nvim 0.12 with minimal setup without using any plugin for my nvim version: NVIM v0.12.0-dev-5299967 Build type: Debug LuaJIT 2.1.1764270282 However, when i ...
prajul's user avatar
  • 1,224
3 votes
1 answer
57 views

I am creating a game about fighting other people in arenas, and when 2 people are in the arena, anyone that tries to enter becomes a spectator, for some reason, the part you touch to enter the arena ...
Destroyerofdocuments's user avatar
Best practices
0 votes
7 replies
142 views

Let tableA = {"a","b","c"}. print( table.unpack(tableA) ) will print : a b c - the multiples values of table.unpack(tableA) are displayed, print( table.unpack(tableA) , &...
user1771398's user avatar
2 votes
0 answers
64 views

I have an NvChad configuration for NeoVim, and I was trying to configure a LuaSnip plugin, but for some reason my Lua snippets are working correctly, but the json ones do not, and I want to figure out ...
dvb1r's user avatar
  • 21
4 votes
1 answer
109 views

In love2D I have a string that represents a mathematical expression, for example: local expr1 = "[p35] div [p36]" local expr2 = "((([p35]*100) div [p36]) mod 100)" local params = {...
darkfrei's user avatar
  • 638
Advice
0 votes
3 replies
79 views

I'm not yet very familiar with the patterns in Lua's string.gsub function. If I have a string like this: Fishing Lure(+100 Fishing Skill)(1 hour) and I want extract only the string "1 hour"...
user3204810's user avatar
-4 votes
2 answers
114 views

Take the following block of code function pickrand() local v = math.random(1,3) if v==1 then return ‘px' elseif v==2 then return ‘py' elseif v==3 then return 'pb' end end prin = { x = ...
Lesbiswan's user avatar
Best practices
0 votes
0 replies
44 views

I'd like to install with rockspec lua-ext but I'm not sure what is the cleanest way to do it via rockspec: it has no release and luarocks install --local https://github.com/thenumbernine/lua-ext does ...
tobiasBora's user avatar
  • 2,624
1 vote
1 answer
75 views

I have a callback/generator which produces output, possibly after a delay. I'd like to send these outputs to the terminal buffer as they're produced. Here's a mockup: local term_buf = vim.api....
wurli's user avatar
  • 2,848
3 votes
0 answers
68 views

I am building a test suite for my Lua application with Busted. I am organizing tests into different files that I would like to run in a given sequence, e.g. low-level unit tests first, up to ...
user3758232's user avatar

15 30 50 per page
1
2 3 4 5
1533