idanarye/nvim-buffls

github github
lspneovim-0.5
stars 9
issues 0
subscribers 2
forks 0
CREATED

2022-11-18

UPDATED

6 months ago


CI Status

INTRODUCTION

BuffLS is a null-ls source for adding LSP-like functionality for a specific buffer. This is useful for small scripts that use Neovim buffers for input, and want to enhance their UX with things like custom completion or code actions. Writing a separate null-ls source for each such script is too cumbersome, so BuffLS acts as a single source that redirects the LSP requests to objects stored in a buffer variable.

BuffLS was created as a supplemental plugin for Moonicipal, but can be used independent of it.

For a more through explanation, please to this section in a blog post about Moonicipal: https://dev.to/idanarye/moonicipal-explained-4h02#data-cells-and-buffls

SETUP

Install BuffLS with your plugin manager of choice, and register the BuffLS source in null-ls:

require'null-ls'.setup {
    sources = {
        require'buffls',
    };
}

CONTRIBUTION GUIDELINES