Questions tagged [neovim]

Neovim is a fork of Vim that aims to improve upon Vim's out-of-the-box experience and allow for more powerful plugins and GUIs.

Neovim is a refactor, and sometimes redactor, in the tradition of Vim. It is not a rewrite but a continuation and extension of Vim. Many clones and derivatives exist, some very clever, but none are Vim. Neovim is built for users who want the good parts of Vim, and more.

Goals

  • Enable new contributors, remove barriers to entry.
  • Unblock plugin authors.
  • Deliver a first-class Lua/LuaJIT scripting alternative to Vimscript.
  • Target all platforms supported by libuv.
  • Leverage ongoing Vim development.
  • Optimize out of the box, for new users but especially regular users.
  • Deliver consistent cross-platform experience.
  • In matters of taste/ambiguity, favor tradition/compatibility...
  • ... but prefer usability if the benefits are extreme.

Non-goals

  • Vim9script (or anything later than Vimscript v1)
  • Turn Vim into an IDE
  • Limit third-party applications (such as IDEs!) built with Neovim
  • Deprecate Vimscript
  • POSIX vi-compatibility

Resources:

1852 questions
9
votes
4 answers

How to use the Language Server Protocol for Python in Neovim

I've spend quite some time figuring out how to use the Language Server Protocol (LSP) for Python (3) in neovim. Mainly I'm looking for autocompletion with Python 3 and it's modules like PySide2. Sadly I just can't get my config file…
stack_anonymous
  • 129
  • 1
  • 1
  • 5
9
votes
5 answers

Why does Vim highlight all my JSON comments in red?

I've got some comments in a JSON file that were autogenerated by, and unfortunately it seems like vim can't recognize that they're just comments. They're all red - which one of my plugins is doing this? I don't really want to turn all of my syntax…
ARMATAV
  • 604
  • 6
  • 26
9
votes
2 answers

Neovim terminal emulator configuration for Windows 10

I am trying to configure Neovim for Windows. One of the key things of this configuration is getting access to the terminal-emulator (it's very comfortable to switch and use the terminal with Vim). But I can't manage to get it to work. I use Neovim…
Dmytro
  • 91
  • 1
  • 3
8
votes
2 answers

make nvim-cmp not autoselect the 1st option

I'm using nvim-cmp as my completion engine, which is working fine, but would like to change the default behavior to disable the automatic selection of the first option. The reason is that, when the last word of a line has suggestions, pressing enter…
Miguel
  • 658
  • 1
  • 6
  • 19
8
votes
1 answer

Vim ESLint not approved or denied yet

I am new to vim and stumble across a problem. I was working on another TS project and ESlint worked fine and I even enable format on save. But upon changing the project, the linter stopped working and I no longer have the format on save or any type…
Pedro Dimas
  • 517
  • 1
  • 3
  • 11
8
votes
2 answers

How to use nvim command if neovim is installed using appimage?

I have installed nvim using AppImage mentioned as below curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage chmod u+x nvim.appimage ./nvim.appimage if i use nvim test,yml ,it fails as '-bash: /usr/bin/nvim: No such…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
8
votes
2 answers

Script to enable double click a file in explorer and launch/run it with a WSL App (Neovim, Vim, etc) within Windows Terminal

I use WSL (Windows Subsystem for Linux). I have Neovim/Vim/etc installed in WSL, and wish to be able to open a file in explorer, and have it open in say Neovim installed in WSL, within windows terminal. What script does one write to launch it, I am…
run_the_race
  • 1,344
  • 2
  • 36
  • 62
8
votes
7 answers

Setting up coc.nvim for python

I have installed coc.nvim and extension coc-python(:CocInstall coc-python) When I opened file I refused of linting and then get error: [coc.nvim] Jedi error: Traceback (most recent call last): …
yalef
  • 95
  • 1
  • 1
  • 6
8
votes
2 answers

How do I set the terminal buffer scrollback size?

By default the terminal buffer scrollback size is set to 1024, but that is not enough for me and I would like to change it. help terminal does not explain how to configure this.
Floegipoky
  • 3,087
  • 1
  • 31
  • 47
7
votes
1 answer

How to stop Telescope.nvim from changing directories when a file is opened

I don't like this behavior. I want to always anchor myself in the root folder of my project however plugins like Telescope (or FZF) keep changing the folder on me. How can I stop this? thanks
Jeff Saremi
  • 2,674
  • 3
  • 33
  • 57
7
votes
1 answer

How to accept nvim lsp suggestions?

To give a simple example. Having a variable or function misspelled, the LS gives a suggestion "Cannot find name 'voteings'. Did you mean 'votings'? Is there a way to quickly accept those suggestion?
7
votes
2 answers

Neovim Select a Language Prompt

I am using Neovim with LSP and I am having an issue with saving any of my tsx file. I keep getting prompted to select a language server: Here is how I am configuring my language servers lspinstall.setup() local servers =…
jrock2004
  • 3,229
  • 5
  • 40
  • 73
7
votes
1 answer

Open fzf.vim in split instead of floating window

I've just setup Neovim v0.4.4 with fzf.vim (commit) on a new machine running Manjaro using sudo pacman -Sy neovim. Previously (unknown version) the window for FZF has appeared in a split at the bottom but now it appears as a window in the middle of…
Oskar Persson
  • 6,605
  • 15
  • 63
  • 124
7
votes
6 answers

E319: No "python3" provider found. How can I solve this problem on SSH environment

I am using university SSH, and I am trying to use Neovim. However, it keeps saying that E319: No "python3" provider found. whenever I am trying to edit my code using Neovim. I am not a sudoer. How can I handle this problem? I've tried python3 -m pip…
Jonghyeon Jeon
  • 119
  • 1
  • 5
7
votes
1 answer

Neovim autoloaded folders

Im currently running: ✗ nvim -v NVIM v0.3.0 I use plug.vim to load plugins, and I like to keep plugin configs in separate files instead of having everything in init.vim: ✗ pwd /Users/mwaldner/.vim/plugin ✗ ls ale.vim fzf_config.vim …
mawaldne
  • 3,919
  • 6
  • 31
  • 37