Skip to main content

Questions tagged [plugin]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
7 views

hop.nvim: using :HopWord with operators?

(I'm using https://github.com/smoka7/hop.nvim) It says in the documentation "Use it with commands like v, d, c, y" but with the sample init.lua config below, It doesn't work. I mapped the , ...
Oneechan69's user avatar
0 votes
1 answer
10 views

filetype not set for current buffer after restoring session with persistence.nvim

I have an autocmd like this one to restore a session using persistence.nvim, but after doing so the filetype for the current buffer is not set (preventing features like syntax highlighting). filetypes ...
Oneechan69's user avatar
1 vote
1 answer
68 views

Setting root directory for projects and autochdir if file is not inside a project?

I just did a bunch of searching, and basically I want to be able to declare root directories for project (ideally on-the-fly with : commands rather than in my config file), (which I can do with ...
Oneechan69's user avatar
0 votes
0 answers
46 views

Make Neotree show every buffer like :ls?

https://github.com/nvim-neo-tree/neo-tree.nvim I have a autocmd in Neovim that does :Neotree buffers dir=/ to show all my buffers, however buffers don't show up in the list until I switch to them, so :...
Oneechan69's user avatar
0 votes
2 answers
50 views

Running commands before saving sessions with persistence.nvim?

https://github.com/folke/persistence.nvim The readme just lists events to be called without further explanation. PersistenceSavePre would be the one before saving a session. I looked at this issue ...
Oneechan69's user avatar
0 votes
0 answers
77 views

How can I change the looks of Noice.nvim elements?

I went through the documentation and it doesn't seem very clear. For instance, I want to try remove the "cmdline" title in the command box. I looked at the views section and it seems like ...
Oneechan69's user avatar
0 votes
0 answers
30 views

Neovim: A combination of Edgy Neotree and Aerial causes this automatic shrinking

When I open Neovim, Aerial is focused and when I focus on the file, the height reduces. I looked through the documentations of those three plugins but can't figure out what is going on. The issue ...
Oneechan69's user avatar
0 votes
0 answers
28 views

Trigger Luasnips with hotkeys / programatically?

I have this in my init.lua, I looked up how to trigger it programmatically including these discussion posts and the documentation, but couldn't figure it out. This is my Luasnip config local ls = ...
Oneechan69's user avatar
1 vote
3 answers
52 views

Changing markdown tasks checkboxes with hotkeys?

Let's say I have markdown tasks like this: - [ ] Task - [ ] Task - [x] Task - [x] Task How could I change each task like so below, from any checkbox to any checkbox with hotkeys set for each type (x, ...
Oneechan69's user avatar
0 votes
0 answers
22 views

Issue when opening a new buffer with plugins enabled

I have a plugin stored in ~/.vim/ftplugin/vhdl that I need while writing *.vhdl code. However, I don't really need it when, say, I am writing *.v code. With VIM I use buffers, so for instance in one ...
scorbetta's user avatar
1 vote
1 answer
35 views

Use textobject selection with nnoremap

I hope this is not an XY problem, but I need the following thing: I have parameterized markdown fences (in vimwiki), i.e: ```c int a = 5; printf("%d", 5 <++>) ``` So my idea is when ...
Fedja's user avatar
  • 87
1 vote
1 answer
391 views

Connect vim-dadbod with postgres instance running in docker without having to install postgres locally

Some context. I am running postgres on my local machine using docker compose. Together with the compose is also pg-admin, but I want to avoid having to open pg-admin all the time and started looking ...
Mark Arrow's user avatar
0 votes
1 answer
37 views

Neovim commands or plugins for an equvialent of the :s command with different regex syntaxes

I would want a different regex syntax, like JS regex for instance, with a command for or like :s/ commands.
Oneechan69's user avatar
0 votes
1 answer
533 views

Any Neovim plugins for formatting Markdown text? [closed]

I started learning Vim because I spend too much time formatting text right in Markdown editors. Vim motions help a lot with that, but I still want hotkeys or motions to format text in markdown to bold ...
Oneechan69's user avatar
3 votes
1 answer
403 views

Neovim: with auto-session, how can I restore Neotree's position to where it was before closing Neovim?

I have no idea what I'm doing, When I just have nvim and Auto session setup individually and I quit Neovim, auto session restores a blank window in place of Neotree. I have this snippet in my init.lua ...
Oneechan69's user avatar
1 vote
2 answers
844 views

Can I open Neotree in the current window instead of in a new one?

When I do a command like :Neotree reveal it opens it in a new window on the left, when I want to it to show in the current window and hide the buffer that was there.
Oneechan69's user avatar
0 votes
1 answer
90 views

How to identify names of lua configuration variables to inspect them?

I load a plugin, and the plug docs tell me that I can configure it using lua code like this, which I might put in my startup file: lua require('plugin_name').setup{ \ foo ...
Mars's user avatar
  • 123
-1 votes
1 answer
373 views

Vim plugin: indentLine, not showing indent guides for bash file (no shebang) just named [file].bash [closed]

Plugin: indentLine I'm not getting indent lines for bash files (and Java files but not important as I use IntelliJ), using this plugin, it only shows indent lines for Python I installed using ...
Nickotine's user avatar
  • 200
0 votes
1 answer
938 views

How to configure pylsp installed by Mason with lsp-zero for nvim?

I want to disable a specific error/warning - E203. This is my lsp.lua where I tried to add ignore config according to this doc from lsp-zero git local lsp = require("lsp-zero") lsp.preset(&...
hdw3's user avatar
  • 101
0 votes
1 answer
84 views

Why is the order of functions in the tagbar different from the C source file?

When opening C/C++ source code in Vim, if you open the tagbar plugin, the display order of functions in the tagbar is different from the display order in the C/C++ source file. I wonder why.
Jumogehn's user avatar
  • 165
1 vote
1 answer
73 views

How to change color scheme in a csv plug-in?

I learnt from this post that there is a csv plug-in. I tried this plug-in and it indeed arranged the csv file well. However, the color scheme is horrible on my screen. Is there anyway that I can ...
cat's user avatar
  • 43
0 votes
0 answers
37 views

Install coc.nvim on Raspberry Pi 4B on Pi OS

I have successfully installed vim and two plugins on my raspberry pi 4b with Pi OS (linux). But when I installed coc.nvim vim gave an error (error code 1) and then showed erratic behaviour. Am I doing ...
ABM K's user avatar
  • 101
3 votes
1 answer
473 views

How do you pass options to a lua plugin?

In many Neovim plugins these days, configuration is done in a new way, and the readme just says to "pass option_name = someval to enable some behaviour". For example, archibate/nvim-gpt, ...
TamaMcGlinn's user avatar
0 votes
1 answer
3k views

Unable to use Nvim-dap with codelldb

I am trying to configure neovim with nvim-dap to debug C++ code. I was thinking about using the codelldb debugger, so I installed it via Mason My configuration looks like this: local dap = require(&...
Educpf's user avatar
  • 53
1 vote
1 answer
628 views

Cannot make vim-markdown conceal the formatted text

I am quite new to Neovim, just installed some of the important plugins and now I wanted to make it really good for writing Markdown files. I installed vim-markdown for that, and followed the ...
Educpf's user avatar
  • 53
1 vote
1 answer
1k views

How to install nvim-html-css neovim plugin in NvChad

Neovim plugin: nvim-html-css I don't know lua but I need this plugin installed for bootstrap classes. I have Neovim NvChad lazy.nvim setup. Copy pasting didn't worked so I tried to cut out maybe ...
over-heaven's user avatar
1 vote
1 answer
505 views

How to fix RGB / RGBA colors not being shown as colors in neovim nvChad lazy.nvim colorizer plugin?

I can see color on those: #000000 red But not on those: rgb(0,45,65); rgba(2,45,23,1); Here is C:\Users\user\AppData\Local\nvim\lua\plugins\init.lua file colorizer code that comes preinstalled with ...
over-heaven's user avatar
1 vote
2 answers
158 views

Is there a Vim plugin for testing VimScript patterns?

I'm new to VimScript and trying to learn how to construct patterns. Is there a Vim plugin like RegExr.com for testing patterns?
Samuel Bacay's user avatar
0 votes
2 answers
535 views

How to run a callback when an nvim plugin is loaded. Can I tie this back to running a callback when a plugin is required/imported?

I can see in vim how we can: Call function only when the plugin is loaded But I want to: Call function only when the plugin is required
Ari Sweedler's user avatar
1 vote
1 answer
125 views

Using marks in custom functions/plugins without changing user's marks

I am looking for a way to save and restore marks at the beginning and end of my custom Vimscript function. I am writing a plugin and I don't want my plugin to change any of the user's marks, so I ...
matko031's user avatar
0 votes
0 answers
15 views

Help me remove feature in NVim [duplicate]

I've just used NVim lately and install some plugins Plugin List And every function have some params name behind it . Anyone know where this comes from and how to remove it ? Thanks!
Max's user avatar
  • 1
-1 votes
1 answer
386 views

Why is Vim telling me that 'no plugin to install' when I have installed a plugin manager (vim-plug)?

call plug#begin() plug 'https://github.com/AndrewLockVI/dark_ocean.vim' plug 'https://github.com/ErichDonGubler/vim-sublime-monokai' plug 'https://github.com/rafi/awesome-vim-colorschemes' call plug#...
Artisan's user avatar
  • 11
0 votes
0 answers
126 views

Dynamic load plugin when using Neovim?

I want to dynamically load the local plugins when using Neovim. For example, there are some directories ~/plugin1 and ~/plugin2 (they're colorscheme plugins). When using Neovim, I try to add ~/plugin1 ...
linrongbin's user avatar
3 votes
1 answer
788 views

How can we know if we can install a plugin on both Vim and Neovim?

I find in neovimcraft a list of Neovim plugins Can we install them inside Vim or gVim? It seems that the plugins in vimawsome can be installed on Neovim but not always in Vim. Is that correct? How can ...
mohamadi_arch's user avatar
1 vote
1 answer
2k views

"Error detected while processing TextChangedI Autocommands for "<buffer=4>":" ParInfer Neovim [closed]

I'm setting up parinfer plugin for lisp development in neovim. I've installed neovim plugin using below code - use 'gpanders/nvim-parinfer' And I've also setup below configuration -- parinfer options ...
Rajkumar Natarajan's user avatar
0 votes
1 answer
338 views

Can I make a new mode in Nvim?

I want to create a new mode other than normal, visual, or insert because I want to: change the functions of all keys at once allow remapping preserve the mappings of other modes and retrieve when go ...
Dugesia7's user avatar
0 votes
0 answers
124 views

Display lint info in vim ruler

I've installed the vim-flake8 plugin and it works correctly to lint Python in vim. When I am on a particular line, I can use :call flake8#Flake8ShowError() and it will display the error in the vim ...
efthimio's user avatar
  • 101
0 votes
1 answer
424 views

Go to file with gf from :terminal

I often keep a :terminal open on the right of a vertical split, and on the left keep a window open for files: ------------------------------ | | | | file buffers | :terminal ...
apostl3pol's user avatar
2 votes
1 answer
896 views

Minimap config in lua

Sorry if the question looks dumb, is it possible to set the config file of minimap in lua ? I test the following, but the plugin is not found (the package command works wheel eg. Minimap or ...
Hadock's user avatar
  • 143
0 votes
0 answers
16 views

mattn/vim-gist plugin selecting single file from multi file gist

Using the https://github.com/mattn/vim-gist/ plugin, is it possible to open a specific file from a gist that has more than on file? I'm asking because Visual Code Studio lets me select an individual ...
Jörg's user avatar
  • 101
1 vote
2 answers
284 views

Follow mode in ViM?

Emacs has a neat built-in feature called Follow mode, which splits the screen an then lays out the current buffer linearly across these splits (and follows along when scrolling). As such, one may ...
gustafbstrom's user avatar
1 vote
0 answers
390 views

Help setting up init.lua in Neovim, I'm a new user and don't understand the structure for plugins

First of all, I'm not a programmer, but a musician. I just happen to (kind of) know how to use the terminal, and I use a music notation/engraving program called LilyPond that works in the terminal. ...
Kai Vinter's user avatar
0 votes
1 answer
786 views

PlantUML preview doen't work

Environment macOS Ventura on M1 iTerm2 Homebrew Google Chrome I have tried to install a PlantUML-Preview in (Neo)Vim with this plantuml-previewer.vim plugin. I've addressed the following ...
Manny's user avatar
  • 1
2 votes
1 answer
182 views

Separate virtualenv for vim plugins and application code

I have multiple vim plugins (ropevim, taskwarrior etc.) which depend on python libraries. These libraries are installed in system python3 When I am working on a python project, the virtual environment ...
vijayvithal's user avatar
1 vote
0 answers
44 views

What vim plugin is hijacking my session to give me grep information I don't want?

I'm not sure how better to phrase this question. I have not recently installed anything new—in fact I'm a bit overdue to upgrade my three-year-old Linux Mint install—but in the last couple months I ...
blahedo's user avatar
  • 111
0 votes
1 answer
725 views

How can I install fzf in vim without using a plugin manager? [duplicate]

I have fzf installed in manjaro (/usr/bin/fzf, /usr/share/fzf), but I can't seems to figure out how to install fzf for vim. I'm having trouble following these instructions: https://github.com/junegunn/...
andrew_ysk's user avatar
1 vote
1 answer
2k views

How to configure Neoformat to use Prettier?

Installed Neoformat with Plug in init.vim for Neovim 0.7.2 on Linux Mint 19.3 I can't figure out how to get Neoformat to work with Prettier. I installed Prettier as a snap package in --devmode, so ...
wayan's user avatar
  • 11
1 vote
2 answers
200 views

Gvim Python loading issue (despite being correctly installed)

I found a lot of questions about it, some problem was about 32 or 64 bit, other was about python support compiled in vim, etc. None was my case. Preamble: Software installed I installed Python on ...
Antonio's user avatar
  • 289
2 votes
3 answers
433 views

Add a Semicolon Automatically in C With a Vim Plugin

I am a C programmer and I am looking for a plugin that automatically adds semicolons when necessary before writing changes to a file. For example, look at the following example. printf("%s\n"...
Amarakon's user avatar
  • 271
3 votes
1 answer
2k views

nvim (plugged with coc, coc-clangd) is showing parameters for every function. How do disable it?

my nvim (plugged with coc + coc-clangd) is showing the paramters for every function, how do I disable it ? I'm using a common vimrc for vim and neovim, but this problem only happens in neovim. FILE *...
prgbenz's user avatar
  • 131