Skip to main content
Filter by
Sorted by
Tagged with
Advice
2 votes
1 replies
45 views

Apologies if this is a dumb question, I'm new to both stack exchange and programming in general. Anyway, here's the problem I'm facing: I'm writing a function for a lua program, and I need to convert ...
FishEnjoyer's user avatar
Best practices
0 votes
1 replies
27 views

I want to learn, writng code in lua for fxcm(marketscope) so im looking for a resource to learn it step by step. I have a strategy that takes too long, manually so im intended to turn it to the code ...
Pedram Mehdipour's user avatar
Best practices
1 vote
8 replies
120 views

Let's say I named a function DoSomethingAsync. Now, without running it. Do you think it yields, or runs immediately, but returns something later, and allows the caller to continue running more stuff ...
karl-police's user avatar
  • 1,063
7 votes
1 answer
94 views

Below code is from nmap tableaux.lua script file which is located at /usr/share/nmap/nselib local tcopy_local function tcopy(t) local tc = {} for k, v in pairs(t) do if type(v) == "table&...
Yilmaz's user avatar
  • 51.3k
2 votes
1 answer
62 views

I’m using lazy.nvim to load nvim-tree. I extended nvim-tree to read a project-local .fdignore file and use it to hide files/directories. This works on startup, but changes to .fdignore are not ...
alkali's user avatar
  • 21
1 vote
0 answers
46 views

In macos, I have the following in my ~/.config/nvim/init.lua: vim.api.nvim_create_autocmd("BufReadPost", { callback = function() local mark = vim.api.nvim_buf_get_mark(0, '"') ...
Romstar's user avatar
  • 1,303
0 votes
0 answers
48 views

I am totally new to Lua. The main idea is to use my logitech mouse but not the buggy and resource-eating Logi Options+ application. I try to implement these actions : Btn 4 click : Mission Control ...
Prabowo Murti's user avatar
1 vote
0 answers
179 views

Take a look at the following code: local contents = assert(io.open("foo.html", "r")):read("*a") print(string.len(contents)) string.find(contents, ".+\"url\"...
Andreas's user avatar
  • 10.8k
3 votes
1 answer
124 views

I'm currently trying to implement Karatsuba Sqrt for my BigInteger module in luau, though I'm having trouble with its accuracy and I don't know what I'm doing wrong. Karatsuba function: local function ...
fosterchild's user avatar
Advice
1 vote
4 replies
187 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
4 votes
1 answer
101 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
  • 31
1 vote
0 answers
91 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
1 vote
2 answers
1k 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
70 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
63 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

15 30 50 per page
1
2 3 4 5
1531