Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/prabirshrestha/asyncomplete-buffer.vim

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/prabirshrestha/asyncomplete-buffer.vim

  • v0.0.0-20231203035347-a7afcf4f1f0e
  • Source
  • Go
  • Socket score

Version published
Created
Source

Buffer source for asyncomplete.vim

Provide buffer autocompletion source for asyncomplete.vim

Installing

Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/asyncomplete-buffer.vim'
Registration
call asyncomplete#register_source(asyncomplete#sources#buffer#get_source_options({
    \ 'name': 'buffer',
    \ 'allowlist': ['*'],
    \ 'blocklist': ['go'],
    \ 'completor': function('asyncomplete#sources#buffer#completor'),
    \ 'config': {
    \    'max_buffer_size': 5000000,
    \  },
    \ }))

Note: config is optional. max_buffer_size defaults to 5000000 (5mb). If the buffer size exceeds max_buffer_size it is ignored. Set max_buffer_size to -1 for unlimited buffer size.

Options

Clear buffer word cache on events (default: 1)

let g:asyncomplete_buffer_clear_cache = 1

Credits

All the credit goes to the following projects

FAQs

Package last updated on 03 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc