As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [plugin-system]

For questions about Vim's plugin system. NOT for questions about a specific plugin (use the appropriate plugin-* tag) or questions that may require a plugin.

28 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
62 views

Is there an ideal / idiomatic way to debug running plugins?

I sometimes have plugs stop working — in my case, mostly using async lookups with Unite. When this happens, I would like to see what is happening and look into how to configure around it, or make a ...
New Alexandria's user avatar
4 votes
0 answers
173 views

Issue when moving Vim9script plugin's functions to autoload

I've read :help write-plugin to understand a bit more about how to write a plugin in Vim9script, but there aspects of that that puzzle me. Here's a very simplified, working version of the example ...
Enlico's user avatar
  • 2,054
2 votes
0 answers
184 views

Highlight groups stop working after sourcing vimrc

I'm working on a todo plugin for Neovim, using the remote plugin API. I set highlight groups and matching patterns in my script, and then register it with call remote#host#RegisterPlugin. When Neovim ...
F'1's user avatar
  • 121
2 votes
0 answers
163 views

How to profile save time

Sometimes it takes a really long time to save a file out. Saving the same file after various changes takes various amounts of time. It does not seem to be related to file size. I've disabled any ...
embedded.kyle's user avatar
2 votes
0 answers
279 views

Comprehesive support for graphviz (linting/autocompletion/snippets)

Vim comes with some support (syntax highlighting) out of the box for the DOT language (graphviz) In addition, I found the plugin: https://github.com/wannesm/wmgraphviz.vim, which provides integrated ...
Dr Krishnakumar Gopalakrishnan's user avatar
2 votes
0 answers
237 views

visincr.vim compatibility with Neovim

In Vim 7.4, I used to effectively deploy the visincr.vim plugin for such a task. However, I have recently moved to neovim and this won't work anymore. The errors produced by :so % fills up the whole ...
Dr Krishnakumar Gopalakrishnan's user avatar
2 votes
0 answers
47 views

How to implement a check-in test for omni completion script?

I've been working in an omni-completion script for Vim that is becoming more and more complex. At this point I'm interested in implementing some kind of check-in regression test for the script. Any ...
Vitor's user avatar
  • 1,702
1 vote
0 answers
48 views

bufexplorer.vim plugin doesn't load

I installed ubuntu-20.04.3-desktop-amd64.iso on VirtualBox 6.1.28. It is my first foray into virtual machines and Linux. I installed Vim 8.1 according to this page. The :scriptnames command shows ...
user2153235's user avatar
1 vote
0 answers
82 views

Hierarchical auto-populated menu

I'm aware of vim menu and plugins such as vim-venu and quickmenu, but they need to be manually configured. Is there a way to populate vim menus with all commands available organized in a ...
fortea's user avatar
  • 111
1 vote
0 answers
50 views

matchparen made a wrong match on angle brackets

I used the MatchParen to match the parenthesis while coding C++ projects. Here is my config in .vimrc: hi MatchParen cterm=underline ctermbg=NONE ctermfg=DarkCyan set matchpairs+=<:> However, ...
Yves's user avatar
  • 943
1 vote
0 answers
71 views

How to write to a temproary buffer in a plugin

I've started to write my first vim plugin, a simple timer. I want to be able to set a timer for an arbitrary amount of time, and have it notify me once that time has passed. I've got it all working, ...
Elias Van Ootegem's user avatar
1 vote
0 answers
127 views

how to set a watch in the vim debugger

I use DBGp Remote Debugger Interface for debuggign in vim. which works excellent, but it's missing some things that I would like to have: a watch variable features (most important) auto complete when ...
abbood's user avatar
  • 603
1 vote
0 answers
238 views

How to migrate from NeoBundle to Dein?

Shougo is no longer maintaining NeoBundle, but instead has re-written a plugin manager from scratch under the name Dein. The Dein GitHub page says: No Vundle/NeoBundle compatibility Given ...
Tom Hale's user avatar
  • 2,451
1 vote
0 answers
106 views

Is there any documentation available on the internals of netrw?

I have found fairly clear documentation on the usage and customization of netrw, but a perusal of the plugin source code shows only method-level comments, and does not give a good indication of the ...
merlin2011's user avatar
1 vote
0 answers
216 views

Some mappings in my .vim/ftplugin/*.vim change upon entering a window with different filetype, and some don't. What could be the reason for this?

I have special commenting macros for different languages in my ftplugin files, and macros for creating "dividers" (i.e. commented out line of dashes #--------...). I also define a Vimscript filetype ...
Luke Davis's user avatar
  • 1,327
0 votes
0 answers
56 views

Hide the list of plugins show almost each time at a file open

When I open some file I see a list of plugins shown on the whole window (screenshot below). I get tired of wasting my time to press few keys to hide this list: several times Space each time. No error ...
Artyom's user avatar
  • 87
0 votes
0 answers
205 views

I get several deprecation warnings printed, how to disable them?

I see this when I open first file in nvim. I have not much to do with these (those are plugins that I didn't write). How can I disable them being printed to console? sumneko_lua is deprecated, use ...
eyal karni's user avatar
  • 1,176
0 votes
0 answers
39 views

Plugin function scope issue

I have recently discovered this guide that was very eye opener under many aspects. So I decided to do things "by the book" by moving my plugins in ~/.vim/pack/bundle/start/myplugin/plugin/...
Barzi2001's user avatar
  • 404
0 votes
1 answer
692 views

How to include/configure lua_ls on lspconfig?

I am trying to include lua_ls on my lspconfig but I am getting this error [lspconfig] Cannot access configuration for lua_ls. Ensure this server is listed in `server_configurations.md` or added as a ...
zer09's user avatar
  • 149
0 votes
0 answers
19 views

Plug-in to create comment layer

Is there any plug-in where you can write text without being in insert mode but it’s not being written to the actual file? If you enter insert mode, all that comment text disappears. It should be in a ...
hmltn's user avatar
  • 239
0 votes
0 answers
160 views

How portable is my $HOME/.vim directory?

I'm at home on a few unixy systems, FreeBSD/amd64, Linux/amd64 and Solaris/Sparc. I would like my ~/.vim directory as portable as possible, ideally in such a way I can keep them identical (say, rsync ...
Jens's user avatar
  • 363
0 votes
0 answers
29 views

Creating vimrc kills my plugin

I have the following ~/.vim/filetype.vim: augroup filetypedetect au BufRead,BufNewFile *?Script.sml let maplocalleader = "h" | source /home/gergely/HOL/tools/vim/hol.vim " recognise ...
Gergely's user avatar
  • 243
0 votes
0 answers
34 views

Measurement/ tracking the time for editing a file (overall and statistics)

I use vim for coding and also for writing scientific articles and book chapters. It would be very interesting to know the time I spent on a file. For example how many hours or minutes the buffer was ...
Robert Winkler's user avatar
0 votes
0 answers
25 views

How do plugins work when providing several custom keys in a plugin-specific window?

I'm referring to plugins like gundo and nerdtree, which offer a whole lot of key bindings only when the cursor is their window. Therefore, I was wandering if there's a common or preferred way to ...
Enlico's user avatar
  • 2,054
0 votes
1 answer
708 views

How do I set floatterm plugin in Neovim such that F5 compile javascript and how do I do it for other languages?

I plugged float-term plugin , that open terminal window in neovim. when I compile javascript with node in float term I did like :FloatermNew node % then it compiles fine and show me the output in ...
Visrut's user avatar
  • 25
0 votes
0 answers
105 views

Is it possible to make some animation in vim

This issue may be a kind of nonsense but I still want to know if it is possible to make some dynamic stuff in vim 7 or vim 8. For example, load a file and make if move from left to right (just like ...
Yves's user avatar
  • 943
0 votes
0 answers
1k views

vim 8: C++ syntax highlighting has some minor fault

I'm using vim 8 to code C++11. I've installed the vim plugins: YCM, ALE, vim-code-dark and vim-cpp-enhanced-highlight, however, it seems that there is some error on syntax highlighting. As you see, ...
Yves's user avatar
  • 943
0 votes
0 answers
1k views

Setting up fzf and integrating it with vim

I am trying to setup fzf and use it with vim, tried to follow the instructions in the git repo but could not get things to work. I was successfully able to install fzf and use the :FZF command in vim....
Kareem Aboughazala's user avatar