Skip to main content

Questions tagged [lua]

Questions about the Lua bindings in Neovim

0 votes
0 answers
23 views

I am using Windows 11 Pro with Neovim v0.11.3, with the distro called Lazyvim. I setup dartls language server using the code vim.lsp.enable("dartls") Which would provide with me the ...
B1LLP4RK's user avatar
  • 105
2 votes
2 answers
228 views

Sometimes Lua code running inside Neovim throws an exception. When this happens, a traceback is displayed in :messages. Is it possible to extract the file path and line number from these tracebacks ...
wallefan's user avatar
  • 191
0 votes
2 answers
167 views

yy yanks a line into a default Neovim clipboard, let's call it " <leader>yy yanks a line into a system clipboard - "+ ... but for some reason " clipboard is also overwritten by &...
hdw3's user avatar
  • 101
0 votes
0 answers
81 views

Using Neovim (currently on v0.11.2 with kickstart.nvim) I personally use line wrapping most of the time when editing text, and I navigate between distant lines, with the help of 'relativenumber', ...
Frances's user avatar
  • 111
3 votes
2 answers
2k views

I am looking at trying to utilize the new vim.lsp.config features both in core Neovim v0.11 as well as the latest updates to nvim-lspconfig. I am curious what the proper/intended way of setting up my ...
mehalter's user avatar
1 vote
1 answer
48 views

I am using Neovim 0.11.0 on Windows and on Linux. I want to use Neovim as a lua interpreter. Furthermore I want to write lua scripts like nodejs scripts, i.e. I want to schedule things on the event ...
Ole's user avatar
  • 21
1 vote
2 answers
81 views

How can I test in a lua Neovim config, whether a specific Python package is installed or not? Context: I'm using python-lsp-server. Some projects use ruff for linting (via the python-lsp-ruff plugin) ...
luator's user avatar
  • 161
1 vote
1 answer
196 views

This question flows from LaTeX plugin for editing in nvim where the question is what was recommended when we want to write "word" and then the environment would automatically convert it to ...
user3236841's user avatar
0 votes
1 answer
142 views

How can I visually sharpen the dividing line between splits in lualine? Vertical splits (which sit side by side) are clearly divided by a thin, high-contrast line, but horizontal splits (one on top of ...
Alex Roberts's user avatar
0 votes
0 answers
104 views

I want to have some commands that switch between different diagnostics severities. vim.api.nvim_create_user_command("DiagWarn", function() vim.diagnostic.config({ severity = { min = vim....
imlew's user avatar
  • 1
0 votes
1 answer
45 views

Trying to automatically fold blocks in my tex file that look like \begin{center} \begin{tikzpicture}[scale=0.2] \tikzstyle{every node}+=[inner sep=0pt] \draw [black] (23.5,-26) circle (3); \draw [...
Joel's user avatar
  • 1
0 votes
1 answer
145 views

Hello I am new to both Neovim and Lua, I am trying to set up a configuration using the Lazy.nvim package manager and cannot get either the nanozuki/tabby.nvim or tris203/hawtkeys plugins working. Lazy ...
IronKing127's user avatar
0 votes
0 answers
129 views

Because nvim's lua engine has no builtin debugger (a big drawback compared with vimscript IMO), I'm looking for an easy (and hopefully idiomatic) way to add debug print statements to lua plugins. To ...
BPS's user avatar
  • 308
1 vote
1 answer
198 views

I am trying to get mutt to open Neovim in Insert mode and have my cursor at the first empty line (basically after the headers). I tried to modify the following : NeoVim - Go into insert mode when ...
user3236841's user avatar
1 vote
1 answer
248 views

I am new to lua/nvim and would like to set a keybinding that will do two things: 1a map <C-s> or <C-x><C-s> to <Esc>-:w-Insert and then continue in insert mode. 1b Not save ...
user3236841's user avatar

15 30 50 per page
1
2 3 4 5
15