Questions tagged [plugin]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 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
2 votes
1 answer
112 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
114 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
  • 33
1 vote
1 answer
45 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
  • 33
0 votes
0 answers
26 views

Debugging a program that requires escalated privileges

I have written a program in C that needs to access /dev/input/eventX programmatically. Running it as sudo ./a.out works well, but I am not sure how to debug it (using nvim-dap & cpptools). Here is ...
ElijaRock's user avatar
1 vote
1 answer
211 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
50 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
0 votes
0 answers
18 views

How to use Neovim `sockconnect`?

I want to write a plugin that start 2 child processes. let's say the main nvim process is P, parent. and two child processes are A and B. In process A, I will do some calculation and write data to ...
linrongbin's user avatar
1 vote
2 answers
150 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
1 answer
72 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
0 votes
1 answer
40 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
155 views

upgrade neovim 0.8.3 to 0.9.0 and font-hack-nerd-font, the font displayed by number appears overflow

Updated neovim 0.8.3 => 0.9.0 and font-hack-nerd-font. use https://github.com/folke/todo-comments.nvim plugin and Hack Nerd Font, config font_size=12, the font displayed by number appears overflow. ...
sharp's user avatar
  • 1
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
0 votes
0 answers
25 views

Possible to start Voom outliner from modeline?

I use the Voom outliner and would like to start it automatically for certain files using the modeline feature. I tried as first line in the file: // vim: Voom asciidoc But when is start it: Unknown ...
Martin's user avatar
  • 1
0 votes
1 answer
112 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
  • 31
0 votes
0 answers
57 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
1 vote
1 answer
210 views

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

I find in noevimcraft 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
0 votes
0 answers
75 views

Conjure client '' doesn't support function: eval-str

I'm using neovim for clojure development. I've Olical/conjure and Olical/aniseed plugins added. The config are use 'Olical/conjure' use 'PaterJason/cmp-conjure' use 'Olical/aniseed' local com =...
Rajkumar Natarajan's user avatar
0 votes
1 answer
713 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
94 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
64 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
118 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
395 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
  • 133
0 votes
0 answers
14 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
109 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
217 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
398 views

Vim / Neovim PlantUML Preview didn'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. There are described some dependencies: ...
Manny's user avatar
  • 1
2 votes
1 answer
101 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
31 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
475 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
1k 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
101 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
  • 221
1 vote
1 answer
229 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
  • 261
3 votes
1 answer
1k 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
0 votes
0 answers
128 views

Is there a way to redefine options set in a lua setup{} call without calling setup again?

I'm trying to customize a plugin and I want to know if there's a way to just set a single option without calling setup, or to change an option after setup has been called. local actions = require('...
WillOw's user avatar
  • 1
1 vote
1 answer
65 views

bind/map a call to win_gotoid with script level argument

I'm trying to set a nmap bind to make the focus change from Window B back to Window A. Both Window IDs are store at the script level: s:win_id_a and s:win_id_b. The current snippet I've is the ...
Ramon Moraes's user avatar
2 votes
2 answers
61 views

Is there a plugin for saving/loading registers' contents to/from files in a convenient way?

tl;dr Is there a Vim plugin that allows me to save/load registers to/from files with minimal typing, preview of registers, and other amenities? Long version Vim has a lot of registers. However, the &...
Enlico's user avatar
  • 2,162
6 votes
1 answer
5k views

How do I use github copilot in NvChad?

I've written the following in my custom folder, and I've run :PackerSync followed by :Copilot setup, but I get an error: E492: Not an editor command: Copilot setup. Do I need to clone github/copilot ...
stackexchange.com-upvm25mz's user avatar
0 votes
0 answers
19 views

Managing a README.md and vim help for plugins [duplicate]

Is there a way to generate vim help files and a markdown readme for github from the same text file? Or what is the usual strategy for this? I'm maintaining a small plugin that is only used by like ...
fbence's user avatar
  • 603
1 vote
1 answer
39 views

AutoPairsDelete() noise with vim plugins

I have been a vim user for years... I recently added a lot of plugins (see my ~/.vimrc) and I keep hitting a problem where I type a word (in this case, a string called cisco) and vim a) sees an ...
Mike Pennington's user avatar
1 vote
1 answer
342 views

Is there a way to restore a previous version of file in vim

I had a swp file with old content, to which I restored and wasted much cleaning it. So I would like much such feature. Jetbrains's IDEs have feature local history: Which preserve history for ...
Intolighter's user avatar
2 votes
1 answer
719 views

Is it possible to execute Ex Commands (colon commands) in VimScript (vimrc/init.vim)?

First off, just an FYI: I am not that experienced with writing VimScript I have a plugin that I want to have enabled using its custom Ex command (:RainbowParentheses). Putting that inside my init.vim: ...
unrealapex's user avatar
1 vote
0 answers
141 views

How to split view all buffers in vim with equal distribution vertical horizontal

How can I split view all buffers in vim with a distribution between vertical and horizontal? Is there a plugin? I know how to make all buffers appear in either horizontal or vertical splits: :ball :...
Polo's user avatar
  • 31
1 vote
1 answer
62 views

Remove/hide control characters in the vim-fireplace preview window

When the vim-fireplace plugin prints an error stack into the preview window, it includes a bunch of control characters. Example: I tried set nolist but it had no effect. Does anyone know how to get ...
apostl3pol's user avatar
1 vote
1 answer
428 views

Pasting via "p" not working in normal mode in Telescope

If I open Telescope for file or text search and switch to normal mode within the Telescope prompt and press p, nothing happens. Does anyone know how I can enable pasting via p in normal mode in ...
Rotareti's user avatar
  • 585
1 vote
1 answer
361 views

SQLComplete:The dbext plugin must be loaded for dynamic SQL completion

I use vim 8.2.3458 without any SQL specific plug-ins. Whenever I try to edit a SQL file the following error message keeps popping up: SQLComplete:The dbext plugin must be loaded for dynamic SQL ...
Luís de Sousa's user avatar
0 votes
1 answer
180 views

Why doesn't vim-sneak's label-mode work even after enabling it?

I wanted lightspeed-like features in Vim (without having to install Neovim). I installed vim-sneak and followed the directions to enable "label-mode": let g:sneak#label = 1 But when ...
will's user avatar
  • 5
1 vote
1 answer
159 views

Citations in VIM: the fzf-Bibtex PlugIn

I try to use the plugin fzf-Bibtex to insert citations in a scientific paper. I have installed all dependencies and plugins. These have been added to my .vimrc: Plug 'msprev/fzf-bibtex' Plug '...
Drosera_capensis's user avatar
2 votes
0 answers
41 views

Plugin for tips on startup screen

Many of the IDEs I've tested throughout the years feature a sort of startup dialog, showing beginner to intermediate tips to become more proficient at it. While ways to customize Vim startup screen ...
Acsor's user avatar
  • 121
6 votes
2 answers
120 views

Advice on the use of :exe "norm!" vs. built in functions when writing vimscipt and plugins

I've been using vim for about 3 years and am starting to write my first plugin. I've noticed when looking at the code of other popular plugins that the functions very rarely seem to achieve their aim ...
mattb's user avatar
  • 1,081