省政府法制办圆满完成承担省法学会的三项重点...

15,267 questions
Filter by
Sorted by
Tagged with
0 votes
1 answer
56 views

How to highlight text inside [...] differently than text inside ![...]!

The goal is to highlight text inside [...] with a different color than text inside ![...]! Also everything should be nestable such that [...] could contain ![...]! inside of it or vice versa and the ...
yousefx0's user avatar
0 votes
0 answers
45 views

How could I improve my game about learning Vim? [closed]

I've developed BobaVim, a browser-based game designed to help people learn and practice Vim motions through interactive challenges and competitive gameplay. After months of development and testing ...
Goplo's user avatar
  • 11
1 vote
1 answer
26 views

Map equal to gq in Neovim

The title says it all. I'm trying to map <Equal> to gq behavior in Neovim both when in Normal mode (in that case do gqq) and in Visual mode (in that case do gq) but somehow this is not working. ...
Rom's user avatar
  • 13
1 vote
0 answers
24 views

Why are TypeScript files with shebang in nvim rendered in gray?

I have installed the up-to-date tree-sitter-typescript, and it works well in typescript files without shebang. I searched online but couldn't find any particularly similar questions. Some people ...
WeariTraveller's user avatar
1 vote
1 answer
58 views

How to highlight across regions?

I have a special format in .html.specialext, it is basically an HTML file with special regions delimited by {{ and }}, containing Lua code. Here is my syntax file (specialext.vim): if exists("b:...
TummaLumi's user avatar
1 vote
3 answers
313 views

Writing a visually-selected couple of files out to a file with an open buffer

This is vim 9.1 on arm64 macOS 15.5. Let's say I open file1.txt with: vim file1.txt but some of the lines I want to write into another file. If I open that file in a buffer with: :split file2.txt or:...
Harv's user avatar
  • 241
0 votes
0 answers
67 views

VTSLS language server looks attached at output of :LspInfo, but it does not function except basic diagnostics

Here is :LspInfo output: - vtsls (id: 5) - Version: 0.2.9 - Root directory: ~ - Command: { "vtsls", "--stdio" } - Settings: { vtsls = { tsserver = { ...
Cccccccc's user avatar
1 vote
1 answer
86 views

Line numbers in terminal mode

I want to enable line numbers in terminal mode in Neovim. I used the following snippet: vim.api.nvim_create_autocmd("TermOpen", { callback = function() vim.opt_local.number = ...
Irdis's user avatar
  • 113
1 vote
1 answer
323 views

Is there a way to move the cursor specifically to the beginning of the visually selected region (not just toggle like `o`)?

When in a visual selection you can press o to have the cursor jump between the start and end of the selection without affecting what is actually selected. Is there a way to do a similar thing, but in ...
Pak's user avatar
  • 1,154
0 votes
0 answers
18 views

Breakpoint Not Being Hit (trying to use neotest plugin with neotest-jest)

I'm having trouble configuring neotest-jest to work with Typescript. I've created a minimal Typescript application with a single file and an accompanying unit test in jest, but when I attempt to ...
Andrew's user avatar
  • 121
3 votes
2 answers
650 views

Why do I need to reopen Vim to have the auto-commands in .vimrc in effect even after sourcing it?

Whenever I make modifications in auto-commands in ~/.vimrc, I need to reopen all the buffers to have the effect of those modifications. Sourcing the ~/.vimrc either by :source ~/.vimrc or :source $...
Somudro Gupto's user avatar
0 votes
1 answer
40 views

How do you externally write to vim's register, that an active session will seemlessly pick it up?

Backstory: Creating a TUI in Qt/C++. Much of its functionality is designed mimic vim idioms. Headless environment via qputenv( "QT_QPA_PLATFORM", "eglfs" ); EGLFS is a platform ...
Anon's user avatar
  • 1,005
1 vote
1 answer
34 views

How to delay Vim from escaping its shell?

While editing .c files in insert mode I would like to have a mapping (e.g. <F2>) that save and compile the source file of the current buffer and run the executable corresponding to the source. I ...
Somudro Gupto's user avatar
1 vote
1 answer
51 views

Change settings when using vimdiff

I have a function that changes settings for diff mode (usually activated by using vimdiff). Manually calling this function works as expected. However, I would like this function to be called ...
MERM's user avatar
  • 113
2 votes
1 answer
56 views

Why vim can start a clientserver under wayland but gvim can't?

on my system g/vim9.1, +clientserver features work on vim but not on gvim (which is the only place i want it because i use gvim --remote-tab-silent) the help doesn't offer any hint at the transport ...
gcb's user avatar
  • 263

15 30 50 per page
1
2 3 4 5
1018