尼古拉斯是什么意思
百度 在德国,限制燃油车的政策也在酝酿出台。
Questions regarding Neovim, a refactored fork of Vim. Should be used with other tags to narrow down the question.
1,973 questions
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.
...
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 ...
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 = {
...
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 = ...
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 ...
0
votes
1
answer
15
views
nvim terminal nested nvim how to return focus to inner nvim
I use nvim and lazygit in the terminal, with the lazygit configuration file located at ~/.config/lazygit/config.yml.
The configuration is set as follows:
os:
edit: 'nvim {{filename}}'
editAtLine: '...
1
vote
0
answers
56
views
How to adapt a vim-plug example to lazy.vim?
I use Neovim with lazy.nvim plugin manager on macOS. I am trying to get cmp-zotcite (autocomplete zotero citationkeys) to work, which requires jalvesaq/zotcite (talks to zotero SQL database) plugin ...
1
vote
1
answer
67
views
How to automatically close all Neovim terminal buffers, if any exists, before saving persistence.nvim sessions?
I use the plugin persistence.nvim to manage my Neovim sessions, which on exit are automatically saved in ~/.local/state/nvim/sessions. These sessions can be loaded with several commands, including :...
0
votes
1
answer
106
views
Double load of lua_ls when using nvim-lspconfig
I am trying to debug a problem I have with the lsp configuration of nvim.
When I open a file in nvim, the lsp lua_ls loads fine and works correctly. If I open a new file, or move to the next file, ...
1
vote
0
answers
33
views
Neovim's notifications position
I'm using lazyvim with nvim-jdtls plugin.
Any idea what plugin is controlling display settings of the notifications from the screenshot and how to change their position to for example top right?
0
votes
0
answers
40
views
Using Intelephense with Laravel in Neovim, for Laravel modules
So I have a quite specific problem. I've been able to configure intelephense, to work with Laravel and recognize it's magic methods, classes etc. But when it comes to modular Laravel folder structure, ...
0
votes
0
answers
50
views
Single LSP (pyright) for my code and standard library
So, I try to transition to neovim (for 0.11) I have added such config (tried to minimize where it's clear how to do)
init.lua:
require("riad.lazy")
vim.api.nvim_create_autocmd("...
0
votes
0
answers
45
views
Neovim auto-complete based on words already in text
Neovim has support for LSPs for specific languages like Python and Lua. For files without a corresponding LSP, is there a built-in method to set tab to show previous words in the text? I have ...
0
votes
1
answer
37
views
Undesired underscore when using icon with group in which-key.nvim
I'm using which-key.nvim in Neovim to organize my keybindings, and I've run into a small formatting issue.
When I define a group with an icon like this:
spec = {
{ "<leader>c", ...
0
votes
1
answer
95
views
Missing import path in autocompletion menu in blink.cmp
Expected Behavior (Screenshot from VSCodium as Example):
Or
Current Behavior (Neovim v0.11+):
Configuration
I'm using blink.cmp for autocompletion:
{
"saghen/blink.cmp",
dependencies = {...