All Projects → xaizek → vim-inccomplete

xaizek / vim-inccomplete

Licence: other
Vim plugin for #include directive completion.

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to vim-inccomplete

Vimux
easily interact with tmux from vim
Stars: ✭ 1,980 (+14042.86%)
Mutual labels:  vim-plugin, vim-plugins
Visual Split.vim
Vim plugin to control splits with visual selections or text objects
Stars: ✭ 190 (+1257.14%)
Mutual labels:  vim-plugin, vim-plugins
Targets.vim
Vim plugin that provides additional text objects
Stars: ✭ 2,114 (+15000%)
Mutual labels:  vim-plugin, vim-plugins
Vimpanel
A modern side panel for Vim
Stars: ✭ 97 (+592.86%)
Mutual labels:  vim-plugin, vim-plugins
vim-phpstan
A Vim plugin for PHPStan - https://github.com/phpstan/phpstan. It calls `phpstan` to do static analysis of your PHP code and displays the errors in Vim's quickfix list.
Stars: ✭ 26 (+85.71%)
Mutual labels:  vim-plugin, vim-plugins
Vim Todo Lists
Vim plugin for TODO lists
Stars: ✭ 126 (+800%)
Mutual labels:  vim-plugin, vim-plugins
Exit Vim
Vim plugin that exits Vim on startup
Stars: ✭ 176 (+1157.14%)
Mutual labels:  vim-plugin, vim-plugins
Hot Reload.vim
A (Neo)vim plugin for Flutter to automatically hot reload the project every time a file is saved
Stars: ✭ 33 (+135.71%)
Mutual labels:  vim-plugin, vim-plugins
vim-sass-colors
sass/scss/less/css color literal and color variable highlighting (works with imports)
Stars: ✭ 24 (+71.43%)
Mutual labels:  vim-plugin, vim-plugins
Nerdtree
A tree explorer plugin for vim.
Stars: ✭ 16,380 (+116900%)
Mutual labels:  vim-plugin, vim-plugins
Fzf Filemru
File MRU with fzf.vim
Stars: ✭ 76 (+442.86%)
Mutual labels:  vim-plugin, vim-plugins
swifty-vim
⌨️ A Vim plugin for Swift which provides file detection, syntax highlighting, support for compiling and running tests, and optional support for formatting and linting tools.
Stars: ✭ 18 (+28.57%)
Mutual labels:  vim-plugin, vim-plugins
Vim Systemd Syntax
Syntax highlighting for systemd service files in Vim.
Stars: ✭ 57 (+307.14%)
Mutual labels:  vim-plugin, vim-plugins
Ale
Check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP) support
Stars: ✭ 11,380 (+81185.71%)
Mutual labels:  vim-plugin, vim-plugins
Vim Strand
A barebones Vim plugin manger written in Rust
Stars: ✭ 38 (+171.43%)
Mutual labels:  vim-plugin, vim-plugins
Vim Dadbod Completion
Database autocompletion powered by https://github.com/tpope/vim-dadbod
Stars: ✭ 163 (+1064.29%)
Mutual labels:  vim-plugin, vim-plugins
Context.vim
Vim plugin that shows the context of the currently visible buffer contents
Stars: ✭ 688 (+4814.29%)
Mutual labels:  vim-plugin, vim-plugins
Vimcompletesme
You don't Complete Me; Vim Completes Me! A super simple, super minimal, super light-weight tab completion plugin for Vim.
Stars: ✭ 752 (+5271.43%)
Mutual labels:  vim-plugin, vim-plugins
Vifm.vim
Vim plugin that allows use of vifm as a file picker
Stars: ✭ 197 (+1307.14%)
Mutual labels:  vim-plugin, vim-plugins
vim-jsonc
⚠️Deprecated⚠️: Vim syntax highlighting plugin for JSON with C-style line (//) and block (/* */) comments.
Stars: ✭ 52 (+271.43%)
Mutual labels:  vim-plugin, vim-plugins

What is this plugin

This is a completion plugin for C/C++/ObjC/ObjC++ preprocessor's #include directive.

Which files are matched

"" completion lists header files which are defined by hpp or h extension.

<> completion lists files that have hpp or h extension or don't have any.

Sources of completion

Sources for "" completion are configured via g:inccomplete_localsources and can include:

  • paths relative to the directory of current file
  • '-I' keys from g:clang_user_options
  • '-I' keys from b:clang_user_options

Additional sources for "" completion can be specified via b:inccomplete_roots (this is a list equivalent of older b:inccomplete_root string option).

Sources for <> completion are:

  • 'path' option (on *nix it's set to '/usr/include' by default, but on Windows you should set it to the right directories manually)
  • g:clang_user_options ('-I' keys)
  • b:clang_user_options ('-I' keys)

Additional notes

If you think it's faster to use find than builtin VimL functions, there is an option for that.

This plugin can be used along with clang_complete plugin. And maybe with some other completion plugins that weren't tested (inccomplete should work as long as it's loaded after some other completion plugin).

License

Same terms as Vim itself (see :help license).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].